Skip to content

Commit 92dee78

Browse files
committed
Fix allow reauthentication always show (#24)
1 parent d32d176 commit 92dee78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/authorize_403.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{% if user_attribute is defined %}
1111
<p>{% trans %}You are currently logged in as{% endtrans %} {{ user_attribute }}</p>
1212
{% endif %}
13-
{% if allow_reauthentication is defined %}
13+
{% if allow_reauthentication is defined and allow_reauthentication %}
1414
<p>
1515
<a href="{{ url_reauthentication }}">
1616
<button class="pure-button pure-button-red">{% trans %}Change account?{% endtrans %}</button>

0 commit comments

Comments
 (0)