From 2c1cee8fc6c70c006d04ced7c556f5c0d9d717d5 Mon Sep 17 00:00:00 2001 From: ATAlgaba Date: Sun, 18 Jan 2026 13:12:39 +0100 Subject: [PATCH] feat: defaults to dmidecode shim --- egg-hytale.pelican.json | 4 ++-- egg-hytale.pterodactyl.json | 4 ++-- entrypoint.sh | 5 ----- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/egg-hytale.pelican.json b/egg-hytale.pelican.json index 873bfb8..dde292d 100644 --- a/egg-hytale.pelican.json +++ b/egg-hytale.pelican.json @@ -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": [ diff --git a/egg-hytale.pterodactyl.json b/egg-hytale.pterodactyl.json index fc29705..66cbac4 100644 --- a/egg-hytale.pterodactyl.json +++ b/egg-hytale.pterodactyl.json @@ -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", diff --git a/entrypoint.sh b/entrypoint.sh index 6ecbce2..68f5157 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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