Skip to content
Snippets Groups Projects
Commit 1698caba authored by Tim van Dijen's avatar Tim van Dijen
Browse files

authorize: move to Twig-template

parent b6f28f4f
No related branches found
No related tags found
No related merge requests found
{% extends "base.twig" %}
{% block content %}
<h1>{{ '{authorize:Authorize:403_header}'|trans }}</h1>
<p>{{ '{authorize:Authorize:403_text}'|trans }}</p>
{% if LogoutURL is defined %}
<p>
<a href="{{ LogoutURL|escape('html') }}">{{ '{status:logout}'|trans }}</a>
</p>
{% endif %}
{% endblock%}
......@@ -6,7 +6,7 @@
*/
if (!array_key_exists('StateId', $_REQUEST)) {
throw new SimpleSAML_Error_BadRequest('Missing required StateId query parameter.');
throw new SimpleSAML_Error_BadRequest('Missing required StateId query parameter.');
}
$state = SimpleSAML_Auth_State::loadState($_REQUEST['StateId'], 'authorize:Authorize');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment