mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 17:08:30 +01:00
Check also in trash
This commit is contained in:
parent
ad11c194b7
commit
ce2269d3eb
1 changed files with 1 additions and 1 deletions
|
@ -1531,7 +1531,7 @@ class Alias(Base, ModelMixin):
|
|||
suffix = user.get_random_alias_suffix()
|
||||
email = f"{prefix}.{suffix}@{config.FIRST_ALIAS_DOMAIN}"
|
||||
|
||||
if available_sl_email(email, check_trash=False):
|
||||
if available_sl_email(email):
|
||||
break
|
||||
|
||||
return Alias.create(
|
||||
|
|
Loading…
Reference in a new issue