Skip to content

Commit

Permalink
Small layout fix on login page with error
Browse files Browse the repository at this point in the history
  • Loading branch information
pparage committed Nov 22, 2023
1 parent cfecff6 commit ad3e750
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions authentication/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
{% endif %}

<main class="d-flex w-100 h-100 p-3 flex-column align-items-center justify-content-center">
{% if user.is_authenticated %}

<h1>Login</h1>
<hr class="w-25 text-dark">
{% if user.is_authenticated %}
<p class="errornote">
{% blocktranslate trimmed %}
You are authenticated as {{ username }}, but are not authorized to
access this page. Would you like to login to a different account?
{% endblocktranslate %}
</p>
{% endif %}

<h1>Login</h1>
<hr class="w-25 text-dark">
<form class="col-lg-3 p-5 border border-1 bg-light" action="{{ app_path }}" method="post" id="login-form">
{% csrf_token %}

Expand Down

0 comments on commit ad3e750

Please sign in to comment.