mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Added update groups to the base class
This commit is contained in:
@@ -55,10 +55,14 @@ class BaseService():
|
||||
""" Reset the user's password """
|
||||
return True
|
||||
|
||||
def login(uid):
|
||||
def login(self, uid):
|
||||
""" Login the user and provide cookies back """
|
||||
pass
|
||||
|
||||
def update_groups(self, uid, groups):
|
||||
"""" Update the UID's groups based on the provided list """
|
||||
pass
|
||||
|
||||
|
||||
class BaseDBService(BaseService):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user