Update for 2FA

This commit is contained in:
AffectedArc07
2021-06-03 19:08:46 +01:00
parent f3c314f07b
commit 6c774f615e
4 changed files with 11 additions and 6 deletions
@@ -12,6 +12,8 @@
var/shutdown_on_reboot = FALSE
/// If above is true, you can run a shell command
var/shutdown_shell_command = null
/// 2FA backend server host
var/_2fa_auth_host = null
/datum/configuration_section/system_configuration/load_data(list/data)
// Use the load wrappers here. That way the default isnt made 'null' if you comment out the config line
@@ -21,3 +23,4 @@
CONFIG_LOAD_STR(medal_hub_address, data["medal_hub_address"])
CONFIG_LOAD_STR(medal_hub_password, data["medal_hub_password"])
CONFIG_LOAD_STR(shutdown_shell_command, data["shutdown_shell_command"])
CONFIG_LOAD_STR(_2fa_auth_host, data["_2fa_auth_host"])