From 2655d03dfe543d72d2ddafcb1fb190bd39fb2c86 Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Wed, 22 Nov 2023 16:47:01 -0500 Subject: [PATCH] enable remembeme for current installs who upgrade --- source/migrations.bs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/migrations.bs b/source/migrations.bs index 70cec93f9..de0ab838d 100644 --- a/source/migrations.bs +++ b/source/migrations.bs @@ -16,6 +16,13 @@ sub runGlobalMigrations() ' no longer saving raw password to registry ' auth token and username are now stored in user settings and not global settings + ' enable remember me global setting for all devices whos last run version is < 2.0.0 + ' NOTE: remember me will be disabled for new installs + rememberMe = registry_read("global.rememberme", "Jellyfin") + if not isValid(rememberMe) + ' don't overwrite users current setting (dev installs) + set_setting("global.rememberme", "true") + end if ' migrate saved credentials for "active_user" if found savedUserId = get_setting("active_user") if isValid(savedUserId)