mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-10 15:45:05 +01:00
[MIRROR] Fix admin 2fa not syncing authorized admins to the player table in the db. [MDB IGNORE] (#17262)
* Fix admin 2fa not syncing authorized admins to the player table in the db. (#70910) * Fix admin 2fa not syncing authorized admins. * make it a bit more clear what this code does, since the if wording is misleading. * Fix admin 2fa not syncing authorized admins to the player table in the db. Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
This commit is contained in:
@@ -139,7 +139,8 @@ GLOBAL_PROTECT(href_token)
|
||||
|
||||
return
|
||||
else if (blocked_by_2fa)
|
||||
sync_lastadminrank(client.ckey, client.key)
|
||||
//previously blocked by 2fa but has now verified, sync the lastadminrank column on the player table.
|
||||
sync_lastadminrank(client.ckey, client.key, src)
|
||||
|
||||
blocked_by_2fa = FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user