mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 23:02:19 +00:00
Added check_uid command for services, defaults to using check_user
This commit is contained in:
@@ -39,6 +39,10 @@ class BaseService():
|
||||
""" Check if the username exists """
|
||||
return False
|
||||
|
||||
def check_uid(self, uid):
|
||||
""" Check if a UID exists """
|
||||
return self.check_user(uid)
|
||||
|
||||
def delete_user(self, uid):
|
||||
""" Delete a user by uid """
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user