mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2024-12-22 09:00:14 +00:00
ignore users using alternative auth providers
This commit is contained in:
parent
4809331502
commit
db1b707ec1
@ -111,12 +111,20 @@ if (
|
|||||||
and bool(data_store.user_template) is not False
|
and bool(data_store.user_template) is not False
|
||||||
):
|
):
|
||||||
log.info("Updating user_template for Jellyfin >= 10.6.0")
|
log.info("Updating user_template for Jellyfin >= 10.6.0")
|
||||||
data_store.user_template[
|
if (
|
||||||
"AuthenticationProviderId"
|
data_store.user_template["AuthenticationProviderId"]
|
||||||
] = "Jellyfin.Server.Implementations.Users.DefaultAuthenticationProvider"
|
== "Emby.Server.Implementations.Library.DefaultAuthenticationProvider"
|
||||||
data_store.user_template[
|
):
|
||||||
"PasswordResetProviderId"
|
data_store.user_template[
|
||||||
] = "Jellyfin.Server.Implementations.Users.DefaultPasswordResetProvider"
|
"AuthenticationProviderId"
|
||||||
|
] = "Jellyfin.Server.Implementations.Users.DefaultAuthenticationProvider"
|
||||||
|
if (
|
||||||
|
data_store.user_template["PasswordResetProviderId"]
|
||||||
|
== "Emby.Server.Implementations.Library.DefaultPasswordResetProvider"
|
||||||
|
):
|
||||||
|
data_store.user_template[
|
||||||
|
"PasswordResetProviderId"
|
||||||
|
] = "Jellyfin.Server.Implementations.Users.DefaultPasswordResetProvider"
|
||||||
|
|
||||||
|
|
||||||
if config.getboolean("password_validation", "enabled"):
|
if config.getboolean("password_validation", "enabled"):
|
||||||
|
Loading…
Reference in New Issue
Block a user