arxiv-sanity-preserver
arxiv-sanity-preserver copied to clipboard
Update password in account page
This PR adds a section in the account page to update the password, I added a straightforward endpoint which confirms the current user old password and the new password (twice), and then proceeds to update the database. This is useful to revoke passwords from arxiv-sanity that might have been leaked from other websites. There are a couple of other changes that I needed to do to run the server:
- Changed
from werkzeug
towerkzeug.security
. I suspect the latest version ofwerkzeug
refactored the security stuff into that submodule (requirements.txt
installs the latest version). -
import sys
was missing fromthumb_pdf.py
, it is referenced on line 16.