improve wording

This commit is contained in:
Son NK 2019-11-21 22:51:38 +01:00
parent 108b41842e
commit e18bbd1cc4
1 changed files with 5 additions and 2 deletions

View File

@ -58,14 +58,17 @@ def index():
flash(f"Email {gen_email.email} has been created", "success")
session[HIGHLIGHT_GEN_EMAIL_ID] = gen_email.id
else:
flash(f"You need to upgrade your plan to create new email.", "warning")
flash(
f"You need to upgrade your plan to create new random alias.",
"warning",
)
elif request.form.get("form-name") == "create-custom-email":
if current_user.can_create_custom_email():
return redirect(url_for("dashboard.custom_alias"))
else:
flash(
f"You need to upgrade your plan to create new custom email.",
f"You need to upgrade your plan to create new custom alias.",
"warning",
)