mirror of
https://github.com/wassname/flask-security.git
synced 2026-06-30 16:40:04 +08:00
Fixes typo in find_or_create_role
This commit is contained in:
@@ -150,7 +150,7 @@ class UserDatastore(object):
|
||||
"""Returns a role matching the given name or creates it with any
|
||||
additionally provided parameters
|
||||
"""
|
||||
kwrags["name"] = name
|
||||
kwargs["name"] = name
|
||||
return self.find_role(name) or self.create_role(**kwargs)
|
||||
|
||||
def create_user(self, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user