You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, I have addressed the first problem, which is clearly an omission on my part. Your second suggestion is valid, too, but given that it presents no security risk I'll leave it as is.
I think
return redirect(url_for('main.index'))
should be correct instead ofreturn redirect('main.index')
here?And further, the
/login
view could could be extended by the following code:The successfully logged-in user should not be able to see the login forms again? I don't know, what do you think?
The text was updated successfully, but these errors were encountered: