diff --git a/CHANGES.rst b/CHANGES.rst index 5cb58bfb..00152859 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,6 +8,11 @@ Changes ======= +Version 3.5.1 (released 2023-12-10) + +- views: disable registering of `settings.change_password` menu + if `ACCOUNTS_REGISTER_BLUEPRINT` is False + Version 3.5.0 (released 2023-11-10) - datastore: override put method to add changes to db history diff --git a/invenio_accounts/__init__.py b/invenio_accounts/__init__.py index b7ac8aed..630ef2d8 100644 --- a/invenio_accounts/__init__.py +++ b/invenio_accounts/__init__.py @@ -54,7 +54,7 @@ from .ext import InvenioAccounts, InvenioAccountsREST, InvenioAccountsUI from .proxies import current_accounts -__version__ = "3.5.0" +__version__ = "3.5.1" __all__ = ( "__version__", 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