mirror of
https://github.com/Mailu/Mailu.git
synced 2025-06-02 23:17:26 +02:00
doh
This commit is contained in:
parent
925c753f40
commit
f44cd24bf8
@ -33,7 +33,9 @@ def login():
|
||||
fields = [fields]
|
||||
|
||||
if form.validate_on_submit():
|
||||
if not destination := _has_usable_redirect():
|
||||
if destination := _has_usable_redirect():
|
||||
pass
|
||||
else:
|
||||
if form.submitAdmin.data:
|
||||
destination = app.config['WEB_ADMIN']
|
||||
elif form.submitWebmail.data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user