Fixed an issue where the password recovery link was not working. #5397

This commit is contained in:
Pravesh Sharma 2022-10-11 10:52:57 +05:30 committed by GitHub
parent 176ea5949b
commit b100df3160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1088,7 +1088,7 @@ if hasattr(config, 'SECURITY_RECOVERABLE') and config.SECURITY_RECOVERABLE:
'/reset_password' + slash_url_suffix(
'/browser/reset_password', '<token>'
),
methods=['POST'],
methods=['GET', 'POST'],
endpoint='reset_password'
)
@pgCSRFProtect.exempt