[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:
SkyratBot
2022-10-31 15:09:28 +01:00
committed by GitHub
parent 8a67081d5a
commit 64e6a57ca6
+2 -1
View File
@@ -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