Added password reset function

This commit is contained in:
2010-03-31 23:15:49 +01:00
parent 1d8a3c0c34
commit 3a6f14319b

View File

@@ -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