diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index 465c5c6ed5c76..275103965ed40 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -295,8 +295,8 @@ private function generateRedirect(?string $redirectUrl): RedirectResponse { * * @return RedirectResponse */ - public function tryLogin(string $user, - string $password, + public function tryLogin(string $user = '', + string $password = '', string $redirect_url = null, string $timezone = '', string $timezone_offset = ''): RedirectResponse {