diff --git a/lib/Hooks.php b/lib/Hooks.php index e40dac02..19bd325e 100644 --- a/lib/Hooks.php +++ b/lib/Hooks.php @@ -221,7 +221,7 @@ public function handleFirstLogin(GenericEvent $event): void { return; } - if ($email === $user->getUID()) { + if (strtolower($email) === strtolower($user->getUID())) { // This is the guest user, logging in for the very first time return; }