Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

theme: resolve issue setting ACCOUNTS_SESSION_ACTIVITY_ENABLED = False #818

Open
GraemeWatt opened this issue Aug 8, 2024 · 0 comments
Open
Labels
complexity: medium priority: medium type: bug Indicates an unexpected problem or unintended behaviour

Comments

@GraemeWatt
Copy link
Member

Disabling session activity tracking by setting ACCOUNTS_SESSION_ACTIVITY_ENABLED = False (commit) from the invenio-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) if ACCOUNTS_SESSION_ACTIVITY_ENABLED = False, but invenio-theme still tries to display it. Rebuilding the assets does not help. This problem should be investigated and overcome to use the ACCOUNTS_SESSION_ACTIVITY_ENABLED = False setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: medium priority: medium type: bug Indicates an unexpected problem or unintended behaviour
Projects
Status: To do
Development

No branches or pull requests

1 participant