mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-16 19:33:44 +00:00
Fixes BaseService to return a uid value
This commit is contained in:
@@ -32,7 +32,7 @@ class BaseService():
|
|||||||
|
|
||||||
def add_user(self, username, password):
|
def add_user(self, username, password):
|
||||||
""" Add a user, returns a UID for that user """
|
""" Add a user, returns a UID for that user """
|
||||||
pass
|
return username
|
||||||
|
|
||||||
def check_user(self, username):
|
def check_user(self, username):
|
||||||
""" Check if the username exists """
|
""" Check if the username exists """
|
||||||
|
|||||||
Reference in New Issue
Block a user