Merge pull request #1574 from nextcloud/artonge/fix/webfinger_warning_first_use

Check webfinger after having created the user
pull/1575/head
Maxence Lange 2023-01-12 14:56:24 -01:00 zatwierdzone przez GitHub
commit f860167e81
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -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');
}