theme: resolve issue setting ACCOUNTS_SESSION_ACTIVITY_ENABLED = False
#818
Labels
complexity: medium
priority: medium
type: bug
Indicates an unexpected problem or unintended behaviour
Disabling session activity tracking by setting
ACCOUNTS_SESSION_ACTIVITY_ENABLED = False
(commit) from theinvenio-accounts
configuration gives an error message from the/admin
or/account/settings/profile
views:werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'invenio_accounts.security'. Did you mean 'invenio_accounts.static' instead?
The
/accounts/settings/security
URL rule is not added to the blueprint (code) ifACCOUNTS_SESSION_ACTIVITY_ENABLED = False
, butinvenio-theme
still tries to display it. Rebuilding the assets does not help. This problem should be investigated and overcome to use theACCOUNTS_SESSION_ACTIVITY_ENABLED = False
setting.The text was updated successfully, but these errors were encountered: