1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-06-02 23:17:26 +02:00
This commit is contained in:
Florent Daigniere 2023-03-12 19:54:27 +01:00
parent 925c753f40
commit f44cd24bf8

View File

@ -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: