highlight disable/enable alias
This commit is contained in:
parent
d4f7b6296d
commit
ccf93b1235
|
@ -85,6 +85,8 @@ def index():
|
||||||
flash(f"Alias {gen_email.email} is enabled", "success")
|
flash(f"Alias {gen_email.email} is enabled", "success")
|
||||||
else:
|
else:
|
||||||
flash(f"Alias {gen_email.email} is disabled", "warning")
|
flash(f"Alias {gen_email.email} is disabled", "warning")
|
||||||
|
|
||||||
|
session[HIGHLIGHT_GEN_EMAIL_ID] = gen_email.id
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
elif request.form.get("form-name") == "delete-email":
|
elif request.form.get("form-name") == "delete-email":
|
||||||
|
|
Loading…
Reference in a new issue