summaryrefslogtreecommitdiff
path: root/horizon/templates/auth/_password_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/templates/auth/_password_form.html')
-rw-r--r--horizon/templates/auth/_password_form.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/horizon/templates/auth/_password_form.html b/horizon/templates/auth/_password_form.html
index 45ed92011..3968e767e 100644
--- a/horizon/templates/auth/_password_form.html
+++ b/horizon/templates/auth/_password_form.html
@@ -31,13 +31,13 @@
</div>
{%endif%}
<fieldset hz-login-finder>
- {% if request.COOKIES.logout_reason %}
- {% if request.COOKIES.logout_status == "success" %}
+ {% if logout_reason %}
+ {% if logout_status == "success" %}
<div class="form-group clearfix error help-block alert alert-success" id="logout_reason">
{% else %}
<div class="form-group clearfix error help-block alert alert-danger" id="logout_reason">
{% endif %}
- <p>{{ request.COOKIES.logout_reason }}</p>
+ <p>{{ logout_reason }}</p>
</div>
{% endif %}
{% include "horizon/common/_form_fields.html" %}