fix contact name always converted to lowercase
This commit is contained in:
parent
9fafddd603
commit
04a418e655
|
@ -164,7 +164,7 @@ def alias_contact_manager(alias_id):
|
||||||
if request.method == "POST":
|
if request.method == "POST":
|
||||||
if request.form.get("form-name") == "create":
|
if request.form.get("form-name") == "create":
|
||||||
if new_contact_form.validate():
|
if new_contact_form.validate():
|
||||||
contact_addr = new_contact_form.email.data.strip().lower()
|
contact_addr = new_contact_form.email.data.strip()
|
||||||
|
|
||||||
# generate a reply_email, make sure it is unique
|
# generate a reply_email, make sure it is unique
|
||||||
# not use while to avoid infinite loop
|
# not use while to avoid infinite loop
|
||||||
|
|
Loading…
Reference in a new issue