|
|
@ -15,10 +15,10 @@ def login():
|
|
|
|
form.submitWebmail.label.text = form.submitWebmail.label.text + ' Webmail'
|
|
|
|
form.submitWebmail.label.text = form.submitWebmail.label.text + ' Webmail'
|
|
|
|
|
|
|
|
|
|
|
|
fields = []
|
|
|
|
fields = []
|
|
|
|
if str(app.config["ADMIN"]).upper() != "FALSE":
|
|
|
|
|
|
|
|
fields.append(form.submitAdmin)
|
|
|
|
|
|
|
|
if str(app.config["WEBMAIL"]).upper() != "NONE":
|
|
|
|
if str(app.config["WEBMAIL"]).upper() != "NONE":
|
|
|
|
fields.append(form.submitWebmail)
|
|
|
|
fields.append(form.submitWebmail)
|
|
|
|
|
|
|
|
if str(app.config["ADMIN"]).upper() != "FALSE":
|
|
|
|
|
|
|
|
fields.append(form.submitAdmin)
|
|
|
|
fields = [fields]
|
|
|
|
fields = [fields]
|
|
|
|
|
|
|
|
|
|
|
|
if form.validate_on_submit():
|
|
|
|
if form.validate_on_submit():
|
|
|
|