mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02:00
fix: Use reserved example.com as bogus instead of email.com domain. (#2551)
`email.com` is not a reserved domain, incorrect configuration could result in unintentional effects. `example.com` is reserved by IANA for bogus purposes, see RFC 6761.
This commit is contained in:
parent
a22d500603
commit
bb9afd86c1
14 changed files with 22 additions and 22 deletions
|
@ -31,7 +31,7 @@ def test_validators_username(api_client: TestClient, unique_user: TestUser):
|
|||
def test_validators_email(api_client: TestClient, unique_user: TestUser):
|
||||
emails = [
|
||||
SimpleCase(value=unique_user.email, is_valid=False),
|
||||
SimpleCase(value=f"{random_string()}@email.com", is_valid=True),
|
||||
SimpleCase(value=f"{random_string()}@example.com", is_valid=True),
|
||||
]
|
||||
|
||||
for user in emails:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue