kopia lustrzana https://github.com/nextcloud/social
Check webfinger after having created the user
On first run, the user does not exist, so the webfinger check fails. This makes sure that the user exists before doing the webfinger check Signed-off-by: Louis Chemineau <louis@chmn.me>pull/1574/head
rodzic
e019eb10cc
commit
7750b0c9ca
|
@ -153,11 +153,6 @@ class NavigationController extends Controller {
|
|||
$this->configService->setSocialUrl();
|
||||
}
|
||||
|
||||
if ($serverData['isAdmin']) {
|
||||
$checks = $this->checkService->checkDefault();
|
||||
$serverData['checks'] = $checks;
|
||||
}
|
||||
|
||||
/*
|
||||
* Create social user account if it doesn't exist yet
|
||||
*/
|
||||
|
@ -172,6 +167,11 @@ class NavigationController extends Controller {
|
|||
// neither.
|
||||
}
|
||||
|
||||
if ($serverData['isAdmin']) {
|
||||
$checks = $this->checkService->checkDefault();
|
||||
$serverData['checks'] = $checks;
|
||||
}
|
||||
|
||||
$this->initialStateService->provideInitialState(Application::APP_NAME, 'serverData', $serverData);
|
||||
return new TemplateResponse(Application::APP_NAME, 'main');
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue