diff --git a/invenio_accounts/views/settings.py b/invenio_accounts/views/settings.py index 32e052e1..a452e5b6 100644 --- a/invenio_accounts/views/settings.py +++ b/invenio_accounts/views/settings.py @@ -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