diff --git a/api/services/account_service.py b/api/services/account_service.py index fe1ea9bc1b3de1..38409ed785960a 100644 --- a/api/services/account_service.py +++ b/api/services/account_service.py @@ -839,6 +839,8 @@ def register( ) -> Account: db.session.begin_nested() """Register account""" + if AccountDeletionLogService.email_in_freeze(email): + raise AccountRegisterError("Email is in freeze.") try: account = AccountService.create_account( email=email,