mirror of
https://github.com/simple-login/app.git
synced 2026-04-07 19:27:34 +00:00
chore: update error message alias custom domain (#2432)
This commit is contained in:
@@ -126,7 +126,7 @@ def custom_alias():
|
||||
)
|
||||
custom_domain = domain_deleted_alias.domain
|
||||
flash(
|
||||
f"You have deleted this alias before. You can restore it on "
|
||||
f"You have deleted this alias before. If you want to re-create it, please delete it from "
|
||||
f"{custom_domain.domain} 'Deleted Alias' page",
|
||||
"error",
|
||||
)
|
||||
|
||||
@@ -364,9 +364,7 @@ def test_add_alias_in_custom_domain_trash(flask_client):
|
||||
follow_redirects=True,
|
||||
)
|
||||
assert r.status_code == 200
|
||||
assert "You have deleted this alias before. You can restore it on" in r.get_data(
|
||||
True
|
||||
)
|
||||
assert "You have deleted this alias before" in r.get_data(True)
|
||||
|
||||
|
||||
def test_too_many_requests(flask_client):
|
||||
|
||||
Reference in New Issue
Block a user