diff --git a/src/Controller/UserController.php b/src/Controller/UserController.php index 805b752..a6ebbbb 100644 --- a/src/Controller/UserController.php +++ b/src/Controller/UserController.php @@ -210,7 +210,7 @@ class UserController implements ISecured return new JsonContent(['success' => true]); } - private function confirmUserIdentity(User $user, ?DateTime $authenticatedWithGoogleUntil, ?string $password, string &$error): bool + private function confirmUserIdentity(User $user, ?DateTime $authenticatedWithGoogleUntil, ?string $password, ?string &$error): bool { if ($authenticatedWithGoogleUntil !== null && $authenticatedWithGoogleUntil > new DateTime()) { return true;