Add function set_mail_hostname
This commit is contained in:
@@ -50,6 +50,12 @@ def valid_username(username):
|
||||
|
||||
return valid
|
||||
|
||||
def set_mail_domain():
|
||||
if MAIL_SERVER:
|
||||
hostname = app.config['MAIL_DOMAIN']
|
||||
else:
|
||||
hostname = None
|
||||
|
||||
|
||||
def email_disp(email):
|
||||
disp = True
|
||||
|
||||
Reference in New Issue
Block a user