mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-20 07:00:31 +00:00
Fix #2002 (Added missing default locale and default language view upon importing ldap user)
This commit is contained in:
parent
c1ac68e2ae
commit
2e25e797dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user