Hi all,I've just figured out that on_failed_authentication works only when requests are not ajax calls. It would be nice to have a custom method even if request.ajax is True, what about to add a new method (i.e., on_failed_authentication_ajax) to auth settings? Otherwise how I can redirect to the login page even when the request.ajax is True?
Regards, -- Paolo