diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index b93c6002ed5f3..d3873d1329e31 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -291,8 +291,8 @@ private function generateRedirect(?string $redirectUrl): RedirectResponse { */ #[UseSession] public function tryLogin(Chain $loginChain, - string $user, - string $password, + string $user = '', + string $password = '', string $redirect_url = null, string $timezone = '', string $timezone_offset = ''): RedirectResponse {