Skip to content

Commit

Permalink
use normal logout rather than OpenID Connect logout #168
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Feb 19, 2021
1 parent 74718ae commit 3efce44
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions flat/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,10 @@
{% endif %}
<li><a href="https://flat.readthedocs.io/en/latest/user_guide.html">Documentation</a></li>
<li><a href="{{base_prefix}}/selectconf/">Switch configuration</a></li>
{% if oidc %}
<li><a href="{% url 'oidc_logout' %}">Log out</a></li>
{% else %}
{% if not oidc %}
<li><a href="{{base_prefix}}/account/password_change/">Change password</a></li>
<li><a href="{{base_prefix}}/logout/">Log out</a></li>
{% endif %}
<li><a href="{{base_prefix}}/logout/">Log out</a></li>
</ul>
</li>
{% endif %}
Expand Down

0 comments on commit 3efce44

Please sign in to comment.