mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Actually added working password reset functions. Fixed views as required.
This commit is contained in:
@@ -79,4 +79,8 @@ class MediawikiService(BaseService):
|
||||
self._db.connection.commit()
|
||||
pass
|
||||
|
||||
def reset_password(self, uid, password):
|
||||
""" Reset the user's password """
|
||||
self.enable_user(uid, password)
|
||||
|
||||
ServiceClass = 'MediawikiService'
|
||||
|
||||
Reference in New Issue
Block a user