commit too fast ... missing return value
This commit is contained in:
parent
193fc29c82
commit
af5c93a1df
@ -51,10 +51,12 @@ def valid_username(username):
|
||||
return valid
|
||||
|
||||
def set_mail_domain():
|
||||
mail_domain = ""
|
||||
if app.config['MAIL_SERVER']:
|
||||
hostname = app.config['MAIL_DOMAIN']
|
||||
mail_domain = app.config['MAIL_DOMAIN']
|
||||
else:
|
||||
hostname = None
|
||||
mail_domain = None
|
||||
return mail_domain
|
||||
|
||||
|
||||
def email_disp(email):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user