address reviewer feedback
This commit is contained in:
parent
5e761ddd71
commit
31bbc56db7
|
@ -32,7 +32,7 @@ function AboutMe(id = "" as string)
|
|||
end function
|
||||
|
||||
sub SignOut(deleteSavedEntry = true as boolean)
|
||||
if deleteSavedEntry = true
|
||||
if deleteSavedEntry
|
||||
unset_user_setting("token")
|
||||
unset_user_setting("username")
|
||||
end if
|
||||
|
|
|
@ -52,7 +52,7 @@ end sub
|
|||
sub runRegistryUserMigrations(version as string)
|
||||
regSections = getRegistrySections()
|
||||
for each section in regSections
|
||||
if section <> "Jellyfin"
|
||||
if LCase(section) <> "jellyfin"
|
||||
if version = "1.7.0"
|
||||
print "Running User Registry Migration for 1.7.0"
|
||||
' now saving LastRunVersion globally and per user so that we can run user specific registry migrations
|
||||
|
|
|
@ -37,7 +37,7 @@ function RegistryReadAll(section as string) as dynamic
|
|||
registryData = {}
|
||||
for each item in regKeyList
|
||||
' ignore session related tokens
|
||||
if item <> "token" and item <> "username" and item <> "password" and item <> "LastRunVersion"
|
||||
if item <> "token" and item <> "username" and item <> "password" and LCase(item) <> "lastrunversion"
|
||||
if registry.Exists(item)
|
||||
registryData.AddReplace(item, registry.Read(item))
|
||||
end if
|
||||
|
@ -108,7 +108,7 @@ function getSavedUsers() as object
|
|||
|
||||
savedUsers = []
|
||||
for each section in registrySections
|
||||
if section <> "Jellyfin"
|
||||
if LCase(section) <> "jellyfin"
|
||||
savedUsers.push(section)
|
||||
end if
|
||||
end for
|
||||
|
|
Loading…
Reference in New Issue
Block a user