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

Cannot change password, first and last name of existing users #332

Open HikariPL opened 3 years ago

HikariPL commented 3 years ago

Hi,

I have a Flask app where I use flask_user for authentication. However, I noticed that I cannot change password, first and last name for existing users. When I try to do it I get confirmation that password has been changed, but in fact it is not. Setting up of new users works perfectly fine.

Config is rather straightforward: USER_APP_NAME = '...' # Shown in and email templates and page footers USER_APP_VERSION = 'v0.1' USER_COPYRIGHT_YEAR = '2021' USER_CORPORATION_NAME = '...' USER_ENABLE_EMAIL = True # Enable email authentication USER_ENABLE_USERNAME = False #Do not log in via username USER_EMAIL_SENDER_EMAIL = 'example@example.com'

Database is MS SQL Server and from other flask modules I use SQLAlchemy, Migrate and Admin.

Any ideas what could be the reason for this?