mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
Adds external auth (#6380)
This commit is contained in:
@@ -296,6 +296,9 @@ var/list/gamemode_cache = list()
|
||||
var/ntsl_hostname = "localhost"
|
||||
var/ntsl_port = "1945"
|
||||
|
||||
// Is external Auth enabled
|
||||
var/external_auth = FALSE
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
|
||||
for (var/T in L)
|
||||
@@ -903,6 +906,9 @@ var/list/gamemode_cache = list()
|
||||
if ("ntsl_port")
|
||||
ntsl_port = value
|
||||
|
||||
if ("external_auth")
|
||||
external_auth = TRUE
|
||||
|
||||
else
|
||||
log_misc("Unknown setting in configuration: '[name]'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user