mirror of
https://github.com/wassname/flask-security.git
synced 2026-08-07 11:22:21 +08:00
Method stub parameters and docs for find_role didn't match implementations.
This commit is contained in:
@@ -82,11 +82,11 @@ class UserDatastore(object):
|
||||
return kwargs
|
||||
|
||||
def find_user(self, **kwargs):
|
||||
"""Returns a user matching the provided paramters."""
|
||||
"""Returns a user matching the provided parameters."""
|
||||
raise NotImplementedError
|
||||
|
||||
def find_role(self, **kwargs):
|
||||
"""Returns a role matching the provided paramters."""
|
||||
def find_role(self, name):
|
||||
"""Returns a role matching the provided name."""
|
||||
raise NotImplementedError
|
||||
|
||||
def add_role_to_user(self, user, role):
|
||||
|
||||
Reference in New Issue
Block a user