Skip to content
Snippets Groups Projects
Commit 536f71f2 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Fix redirect to nocookie and brush up retry button a bit.

parent 89f18c66
No related branches found
No related tags found
No related merge requests found
...@@ -341,7 +341,7 @@ class HTTP ...@@ -341,7 +341,7 @@ class HTTP
// we didn't have a session cookie. Redirect to the no-cookie page // we didn't have a session cookie. Redirect to the no-cookie page
$url = Module::getModuleURL('core/no_cookie.php'); $url = Module::getModuleURL('core/error/nocookie');
if ($retryURL !== null) { if ($retryURL !== null) {
$url = $this->addURLParameters($url, ['retryURL' => $retryURL]); $url = $this->addURLParameters($url, ['retryURL' => $retryURL]);
} }
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
<h2>{{ 'Missing cookie'|trans }}</h2> <h2>{{ 'Missing cookie'|trans }}</h2>
<p>{{ 'You appear to have disabled cookies in your browser. Please check the settings in your browser, and try again.'|trans }}</p> <p>{{ 'You appear to have disabled cookies in your browser. Please check the settings in your browser, and try again.'|trans }}</p>
{% if retryURL is not null %} {% if retryURL is not null %}
<ul> <p><a href="{{ retryURL|escape('html') }}" class="pure-button pure-button-red" id="retry">{{ 'Retry'|trans }}</a></p>
<li><a href="{{ retryURL|escape('html') }}" id="retry">{{ 'Retry'|trans }}</a></li>
</ul>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
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