Save a redirect

master
Florent Daigniere 3 years ago
parent d3f07a0882
commit fee13e6c4b

@ -21,7 +21,7 @@ def login():
if form.validate_on_submit(): if form.validate_on_submit():
if str(form.target.data) == 'Admin': if str(form.target.data) == 'Admin':
endpoint = 'ui.index' endpoint = 'ui.user_settings'
elif str(form.target.data) == 'Webmail': elif str(form.target.data) == 'Webmail':
endpoint = 'ui.webmail' endpoint = 'ui.webmail'

Loading…
Cancel
Save