mirror of
https://github.com/wassname/flask-security.git
synced 2026-09-09 11:22:35 +08:00
Make confirm endpoint anonymous only and get rid of invalid test
This commit is contained in:
@@ -170,6 +170,7 @@ def send_confirmation():
|
||||
**_ctx('send_confirmation'))
|
||||
|
||||
|
||||
@anonymous_user_required
|
||||
def confirm_email(token):
|
||||
"""View function which handles a email confirmation request."""
|
||||
after_this_request(_commit)
|
||||
|
||||
Reference in New Issue
Block a user