Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Let User model specify password verification and update methods #779

Merged
merged 2 commits into from
Jun 28, 2018
Merged

Let User model specify password verification and update methods #779

merged 2 commits into from
Jun 28, 2018

Conversation

mklassen
Copy link
Contributor

Added the verify_and_update_password functionality to the UserMixin class, and use this method for validate in LoginForm. This enables the end user to overload and use custom verification methods, e.g. LDAP or AD server.

@jirikuncar jirikuncar merged commit d8ec54f into pallets-eco:develop Jun 28, 2018
jwag956 referenced this pull request in pallets-eco/flask-security May 7, 2019
* core: make the User model check the password

* core: sorted imports
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants