File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ class Application extends App implements IBootstrap {
2626 * @param array $urlParams
2727 */
2828 public function __construct (array $ urlParams = []) {
29+ $ backend = new \OCA \Solid \ClientAuth ();
30+ \OC ::$ server ->getUserManager ()->registerBackend ($ backend );
31+
2932 parent ::__construct (self ::APP_ID , $ urlParams );
3033 }
3134
@@ -68,7 +71,6 @@ public function register(IRegistrationContext $context): void {
6871 }
6972
7073 public function boot (IBootContext $ context ): void {
71- \OC ::$ server ->getUserManager ()->registerBackend (new \OCA \Solid \ClientAuth ());
7274 self ::$ userSubDomainsEnabled = OC ::$ server ->get (AppConfig::class)->getValueBool (self ::APP_ID , 'userSubDomainsEnabled ' );
7375 require_once (__DIR__ .'/../../vendor/autoload.php ' );
7476 }
You can’t perform that action at this time.
0 commit comments