You are not logged in

You must be logged in to perform this action.

{% set login_url = handler.kwargs.get('login_url', None) %} {% import gramex %} {% set app_login = gramex.conf.app.settings.login_url %}

Log in and try again. If that fails, contact the app owner.

{% set exception = kwargs['exc_info'][1] %} {% for key, val in vars(exception).items() %} {% if val %} {% end %} {% end %}
{{ key.replace('_', ' ').title() }}{{ val }}
{# Note: this template is rarely called, because: - basehandler.py redirects to login_url if 401: UNAUTHORIZED - authhandler.py explicitly renders specific templates if 401: UNAUTHORIZED The rare cases where this is used are: - If an application explicitly raises a 401 - If basehandler.py raises a 401 - for an OTP request when user is not logged in - if the request is not GET/HEAD, it is not redirected to login_url #}