Fix #2002 (Added missing default locale and default language view upon importing ldap user)

This commit is contained in:
Ozzie Isaacs 2021-09-25 14:08:49 +02:00
parent c1ac68e2ae
commit 2e25e797dd

View File

@ -1740,7 +1740,9 @@ def ldap_import_create_user(user, user_data):
content.password = '' # dummy password which will be replaced by ldap one
content.email = useremail
content.kindle_mail = kindlemail
content.role = config.config_default_role
content.kindle_mail = kindlemail
content.default_language = config.default_language
content.locale = config.locale
content.sidebar_view = config.config_default_show
content.allowed_tags = config.config_allowed_tags
content.denied_tags = config.config_denied_tags