{% if let Some(reason) = reason %}
{% match reason %} {% when UnauthenticatedState::InvalidUserPass %} Invalid username or password {% when UnauthenticatedState::MissingUserPass %} You must enter a username and password {% when UnauthenticatedState::InvalidCsrfToken %} Invalid CSRF token {% endmatch %}
{% endif %}
Please login to confirm you would like to allow {{ solicitation.pre_grant().client_id }} access {% if solicitation.pre_grant().scope.iter().next().is_some() %} to {{ solicitation.pre_grant().scope }} {% endif %} via {{ solicitation.pre_grant().redirect_uri }}.