mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Added password reset function
This commit is contained in:
@@ -69,6 +69,10 @@ class MumbleService(BaseService):
|
||||
mumbleuser.password = password
|
||||
mumbleuser.save()
|
||||
|
||||
def reset_password(self, uid, password):
|
||||
""" Reset the user's password """
|
||||
self.enable_user(uid, password)
|
||||
|
||||
def login(uid):
|
||||
""" Login the user and provide cookies back """
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user