Further UI improvements (#8)

* Only set autosign in cookie upon clicking the button

* Show an already signed in link if you already have a token
This commit is contained in:
Christiaan Goossens
2024-12-28 15:21:37 +01:00
committed by GitHub
parent 9f60e9ea9a
commit ca83e86acb
6 changed files with 69 additions and 25 deletions

View File

@@ -8,7 +8,7 @@
<h1 class="text-2xl font-bold mb-4">Login failed.</h1>
<p class="mb-4">{{ error }}</p>
<div class="my-6">
<a href='{{ link }}'
<a href='/auth/oidc/redirect'
class="w-full py-2 px-4 bg-blue-500 text-white font-semibold rounded-lg shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75">Try
again</a>
</div>