mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 15:53:22 +08:00
black
This commit is contained in:
parent
be7ae3021a
commit
421c121d59
1 changed files with 3 additions and 1 deletions
|
@ -1033,7 +1033,9 @@ def generate_reply_email(contact_email: str, user: User) -> str:
|
|||
|
||||
|
||||
def is_reverse_alias(address: str) -> bool:
|
||||
return address.endswith(f"@{EMAIL_DOMAIN}") and (address.startswith("reply+") or address.startswith("ra+"))
|
||||
return address.endswith(f"@{EMAIL_DOMAIN}") and (
|
||||
address.startswith("reply+") or address.startswith("ra+")
|
||||
)
|
||||
|
||||
|
||||
# allow also + and @ that are present in a reply address
|
||||
|
|
Loading…
Reference in a new issue