mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Added commit to enable user, causing locking issues
This commit is contained in:
@@ -76,6 +76,7 @@ class MediawikiService(BaseService):
|
||||
""" Enable a user """
|
||||
pwhash = self._gen_mw_hash(password)
|
||||
self._dbcursor.execute(self.SQL_ENABLE_USER, [pwhash, uid])
|
||||
self._db.connection.commit()
|
||||
pass
|
||||
|
||||
ServiceClass = 'MediawikiService'
|
||||
|
||||
Reference in New Issue
Block a user