mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
fixed a bug that affects allowing password change for users (#854)
This commit is contained in:
parent
a0a15b4598
commit
ec2103a3d0
@ -2843,7 +2843,7 @@ def view_configuration():
|
||||
content.config_default_role = content.config_default_role + ub.ROLE_DELETE_BOOKS
|
||||
if "passwd_role" in to_save:
|
||||
content.config_default_role = content.config_default_role + ub.ROLE_PASSWD
|
||||
if "passwd_role" in to_save:
|
||||
if "edit_shelf_role" in to_save:
|
||||
content.config_default_role = content.config_default_role + ub.ROLE_EDIT_SHELFS
|
||||
content.config_default_show = 0
|
||||
if "show_detail_random" in to_save:
|
||||
|
Loading…
Reference in New Issue
Block a user