mirror of
https://github.com/simple-login/app.git
synced 2025-11-08 08:42:21 +08:00
Require user to be logged in for email change verification
This commit is contained in:
parent
ed1662a485
commit
298788fafa
1 changed files with 2 additions and 0 deletions
|
|
@ -267,6 +267,8 @@ def cancel_mailbox_change_route(mailbox_id):
|
||||||
|
|
||||||
|
|
||||||
@dashboard_bp.route("/mailbox/confirm_change")
|
@dashboard_bp.route("/mailbox/confirm_change")
|
||||||
|
@login_required
|
||||||
|
@limiter.limit("3/minute")
|
||||||
def mailbox_confirm_email_change_route():
|
def mailbox_confirm_email_change_route():
|
||||||
mailbox_id = request.args.get("mailbox_id")
|
mailbox_id = request.args.get("mailbox_id")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue