|
|
@ -33,7 +33,9 @@ def login():
|
|
|
|
fields = [fields]
|
|
|
|
fields = [fields]
|
|
|
|
|
|
|
|
|
|
|
|
if form.validate_on_submit():
|
|
|
|
if form.validate_on_submit():
|
|
|
|
if not destination := _has_usable_redirect():
|
|
|
|
if destination := _has_usable_redirect():
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
else:
|
|
|
|
if form.submitAdmin.data:
|
|
|
|
if form.submitAdmin.data:
|
|
|
|
destination = app.config['WEB_ADMIN']
|
|
|
|
destination = app.config['WEB_ADMIN']
|
|
|
|
elif form.submitWebmail.data:
|
|
|
|
elif form.submitWebmail.data:
|
|
|
|