Skip to content

Commit

Permalink
views: set explicit value check for ACCOUNTS_REGISTER_BLUEPRINT
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Dec 21, 2023
1 parent 84639b8 commit af877a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_accounts/views/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def init_menu():
# Register root breadcrumbs
item = current_menu.submenu("breadcrumbs.settings")
item.register("invenio_userprofiles.profile", _("Account"))
if not current_app.config.get("ACCOUNTS_REGISTER_BLUEPRINT"):
if current_app.config.get("ACCOUNTS_REGISTER_BLUEPRINT") is False:
return

# - Register menu
Expand Down

0 comments on commit af877a6

Please sign in to comment.