Commit 2e25e797 authored by Ozzie Isaacs's avatar Ozzie Isaacs

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

parent c1ac68e2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment