mirror of
https://github.com/wassname/flask-security.git
synced 2026-09-09 11:22:35 +08:00
Add @anonymous_user_required to register endpoint. Fixes #212
This commit is contained in:
@@ -98,6 +98,7 @@ def logout():
|
||||
get_url(_security.post_logout_view))
|
||||
|
||||
|
||||
@anonymous_user_required
|
||||
def register():
|
||||
"""View function which handles a registration request."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user