-
Notifications
You must be signed in to change notification settings - Fork 294
Open
Description
Hello, first time user of Flask-user.
While logged in, I don't expect to have access to the registration view. I but I do. I don't believe it is supposed to work this way.
Just like the log in view is not accessible while logged in, access to the register view must be denied.
So I looked at the code in the login_view function and the following snippet is what prevents access:
Immediately redirect already logged in users
if self.call_or_get(current_user.is_authenticated) and self.USER_AUTO_LOGIN_AT_LOGIN:
return redirect(safe_next_url)
But I dont see this under the register_view.
Or am I missing something?
thanks!
dometto
Metadata
Metadata
Assignees
Labels
No labels