Closed GraemeWatt closed 3 months ago
The Dependabot PR #780 bumps invenio-accounts from v4.0.2 to v5.0.0, but the end-to-end tests fail. Testing the dependabot/pip/invenio-accounts-5.0.0 branch locally, the http://localhost:5000/login/ endpoint gives an exception:
jinja2.exceptions.UndefinedError: 'flask.config.Config object' has no attribute 'ACCOUNTS_COVER_TEMPLATE'
Probably it is necessary to call set_default_config(app) when initialising the app in ext.py.
set_default_config(app)
The Dependabot PR #780 bumps invenio-accounts from v4.0.2 to v5.0.0, but the end-to-end tests fail. Testing the dependabot/pip/invenio-accounts-5.0.0 branch locally, the http://localhost:5000/login/ endpoint gives an exception:
Probably it is necessary to call
set_default_config(app)
when initialising the app in ext.py.