I am currently in the process of building an REST API with flask-security. Fortunately flask-security has a lot of views and templates, which i won't need in my case. I am obviously not able to override them by reimplementing e.g. @app.route('/login')
with my own logic.
So the simple question is, how do i disable all the views from flask-security which returns a template?