Skip to content

Commit

Permalink
Merge branch 'frontend-v2' of github.com:NC3-LU/TestingPlatform into …
Browse files Browse the repository at this point in the history
…frontend-v2
  • Loading branch information
cedricbonhomme committed Nov 22, 2023
2 parents d000d53 + ad3e750 commit 4d14134
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 4d14134

Please sign in to comment.