Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update password in account page #151

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

afcruzs
Copy link

@afcruzs afcruzs commented Sep 14, 2020

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:

  1. Changed from werkzeug to werkzeug.security. I suspect the latest version of werkzeug refactored the security stuff into that submodule (requirements.txt installs the latest version).
  2. import sys was missing from thumb_pdf.py, it is referenced on line 16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant