mirror of
https://github.com/NATroutter/egg-hytale.git
synced 2026-07-15 21:47:20 +03:00
feat: defaults to dmidecode shim
This commit is contained in:
@@ -387,9 +387,9 @@
|
||||
},
|
||||
{
|
||||
"name": "Use Persistent Authentication",
|
||||
"description": "Enabling this option activates the egg's built-in authentication and credentials storage system for the game. If disabled, it is assumed that you will use the game's own authentication system.",
|
||||
"description": "(Not Recommended - Unencrypted) Enabling this option activates the egg's built-in authentication and credentials storage system for the game. If disabled, it is assumed that you will use the game's own authentication system.",
|
||||
"env_variable": "USE_PERSISTENT_AUTHENTICATION",
|
||||
"default_value": "ENABLED",
|
||||
"default_value": "DISABLED",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": [
|
||||
|
||||
@@ -302,9 +302,9 @@
|
||||
},
|
||||
{
|
||||
"name": "Use Persistent Authentication",
|
||||
"description": "Enabling this option activates the egg's built-in authentication and credentials storage system for the game. If disabled, it is assumed that you will use the game's own authentication system.",
|
||||
"description": "(Not Recommended - Unencrypted) Enabling this option activates the egg's built-in authentication and credentials storage system for the game. If disabled, it is assumed that you will use the game's own authentication system.",
|
||||
"env_variable": "USE_PERSISTENT_AUTHENTICATION",
|
||||
"default_value": "ENABLED",
|
||||
"default_value": "DISABLED",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|in:ENABLED,DISABLED",
|
||||
|
||||
@@ -59,11 +59,6 @@ if [ -n "$OVERRIDE_SESSION_TOKEN" ] && [ -n "$OVERRIDE_IDENTITY_TOKEN" ]; then
|
||||
SESSION_TOKEN="$OVERRIDE_SESSION_TOKEN"
|
||||
IDENTITY_TOKEN="$OVERRIDE_IDENTITY_TOKEN"
|
||||
else
|
||||
# Default to persistent authentication if not specified
|
||||
if [ -z "$USE_PERSISTENT_AUTHENTICATION" ]; then
|
||||
USE_PERSISTENT_AUTHENTICATION="ENABLED"
|
||||
fi
|
||||
|
||||
if [ "$USE_PERSISTENT_AUTHENTICATION" = "ENABLED" ]; then
|
||||
# Standard mode: perform authentication
|
||||
if check_cached_tokens && load_cached_tokens; then
|
||||
|
||||
Reference in New Issue
Block a user