diff --git a/app/controllers/api/users.php b/app/controllers/api/users.php index bb1b6c2e37..c78a148e14 100644 --- a/app/controllers/api/users.php +++ b/app/controllers/api/users.php @@ -108,7 +108,7 @@ function createUser(Hash $hash, string $userId, ?string $email, ?string $passwor throw new Exception(Exception::USER_PASSWORD_PERSONAL_DATA); } } - + try { $emailCanonical = new Email($email); } catch (Throwable) {