mirror of
https://github.com/wassname/flask-security.git
synced 2026-09-09 11:22:35 +08:00
Add change password endpoint
This commit is contained in:
@@ -81,11 +81,11 @@ class UserDatastore(object):
|
||||
kwargs['roles'] = roles
|
||||
return kwargs
|
||||
|
||||
def find_user(self, **kwargs):
|
||||
def find_user(self, *args, **kwargs):
|
||||
"""Returns a user matching the provided parameters."""
|
||||
raise NotImplementedError
|
||||
|
||||
def find_role(self, name):
|
||||
def find_role(self, *args, **kwargs):
|
||||
"""Returns a role matching the provided name."""
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
Reference in New Issue
Block a user