1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-29 11:30:31 +00:00

Merge remote-tracking branch 'fix_default_language/master'

This commit is contained in:
Ozzie Isaacs 2022-12-25 09:45:14 +01:00
commit 85a6616606

View File

@ -1246,6 +1246,7 @@ def register():
password = generate_random_password()
content.password = generate_password_hash(password)
content.role = config.config_default_role
content.locale = config.config_default_locale
content.sidebar_view = config.config_default_show
try:
ub.session.add(content)