mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +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 """
|
""" Reset the user's password """
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def login(uid):
|
def login(self, uid):
|
||||||
""" Login the user and provide cookies back """
|
""" Login the user and provide cookies back """
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def update_groups(self, uid, groups):
|
||||||
|
"""" Update the UID's groups based on the provided list """
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class BaseDBService(BaseService):
|
class BaseDBService(BaseService):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user