flask-security
flask-security copied to clipboard
Disable login template from @login_required
Is it possible to return a 401 error instead of the login form when the user is not logged in?
I too am investigating this. I'll update here if I find a solution to this.