Adds Paradise API support (#16981)

This commit is contained in:
AffectedArc07
2021-11-05 13:04:49 +00:00
committed by GitHub
parent 0de8f5a81e
commit db3a3c8bc2
8 changed files with 59 additions and 26 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
// If 2FA is enabled, makes sure they were authed within the last minute
if(check_2fa && GLOB.configuration.system._2fa_auth_host)
if(check_2fa && GLOB.configuration.system.api_host)
// First see if they exist at all
var/datum/db_query/check_query = SSdbcore.NewQuery("SELECT 2fa_status, ip FROM player WHERE ckey=:ckey", list("ckey" = ckey(key)))