Commit ec2103a3 authored by Elifcan Cakmak's avatar Elifcan Cakmak Committed by Ozzie Isaacs

fixed a bug that affects allowing password change for users (#854)

parent a0a15b45
...@@ -2843,7 +2843,7 @@ def view_configuration(): ...@@ -2843,7 +2843,7 @@ def view_configuration():
content.config_default_role = content.config_default_role + ub.ROLE_DELETE_BOOKS content.config_default_role = content.config_default_role + ub.ROLE_DELETE_BOOKS
if "passwd_role" in to_save: if "passwd_role" in to_save:
content.config_default_role = content.config_default_role + ub.ROLE_PASSWD 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_role = content.config_default_role + ub.ROLE_EDIT_SHELFS
content.config_default_show = 0 content.config_default_show = 0
if "show_detail_random" in to_save: if "show_detail_random" in to_save:
......
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