Currently invenio_accounts.views.settings.blueprint gets automatically registered (because of the setup.py entrypoint). It should be possible via config to decide this. A temporary workaround is something like:
# ...in your module's init_app
from flask import request
@app.before_request
def disable_account_settings():
if request.endpoint == 'invenio_accounts.settings':
abort(404)
Currently
invenio_accounts.views.settings.blueprint
gets automatically registered (because of thesetup.py
entrypoint). It should be possible via config to decide this. A temporary workaround is something like: