lingthio / Flask-User

Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more.
http://flask-user.readthedocs.io/
MIT License
1.06k stars 294 forks source link

Reseting password changes confirm email time if the user had already confirmed. #252

Open dann254 opened 5 years ago

dann254 commented 5 years ago

https://github.com/lingthio/Flask-User/blob/a379fa0a281789618c484b459cb41236779b95b1/flask_user/user_manager__views.py#L565

I think this line should be skipped if the email is already confirmed to avoid overwriting the original time.