mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-15 23:32:17 +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 """
|
""" Enable a user """
|
||||||
pwhash = self._gen_mw_hash(password)
|
pwhash = self._gen_mw_hash(password)
|
||||||
self._dbcursor.execute(self.SQL_ENABLE_USER, [pwhash, uid])
|
self._dbcursor.execute(self.SQL_ENABLE_USER, [pwhash, uid])
|
||||||
|
self._db.connection.commit()
|
||||||
pass
|
pass
|
||||||
|
|
||||||
ServiceClass = 'MediawikiService'
|
ServiceClass = 'MediawikiService'
|
||||||
|
|||||||
Reference in New Issue
Block a user