jellyfin: fix LDAP auth provider id
This commit is contained in:
parent
48d4e9c363
commit
7955d9133c
@ -61,7 +61,7 @@ spec:
|
||||
apk add --no-cache sqlite
|
||||
db="/config/data/jellyfin.db"
|
||||
if [ -f "$db" ]; then
|
||||
sqlite3 "$db" "UPDATE Users SET AuthenticationProviderId='958aad66-3784-4d2a-b89a-a7b6fab6e25c', Password=NULL, EnableLocalPassword=0 WHERE AuthenticationProviderId!='958aad66-3784-4d2a-b89a-a7b6fab6e25c';"
|
||||
sqlite3 "$db" "UPDATE Users SET AuthenticationProviderId='Jellyfin.Plugin.LDAP_Auth.LdapAuthenticationProviderPlugin', Password=NULL, EnableLocalPassword=0 WHERE AuthenticationProviderId!='Jellyfin.Plugin.LDAP_Auth.LdapAuthenticationProviderPlugin';"
|
||||
else
|
||||
echo "db not found at $db, skipping"
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user