mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 01:05:32 +00:00
separate logout page + redirect
This commit is contained in:
@@ -24,10 +24,10 @@
|
||||
{{ .page.User.Email }}
|
||||
|
|
||||
<i class="ri-logout-box-line"></i>
|
||||
<a href="/login">Logout</a>
|
||||
<a href="/logout?redirectTo={{ .page.FullPath }}">Logout</a>
|
||||
{{ else }}
|
||||
<i class="ri-login-box-line"></i>
|
||||
<a href="/login">Login</a>
|
||||
<a href="/login?redirectTo={{ .page.FullPath }}">Login</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<h1 class="text-4xl self-baseline text-center w-full mt-6">Musenalm | Login</h1>
|
||||
<form class="mt-9 w-full grid grid-cols-3 gap-4" method="POST" action="/login/">
|
||||
<form class="mt-9 w-full grid grid-cols-3 gap-4" method="POST">
|
||||
<div
|
||||
class="col-span-3 border-2 border-transparent focus-within:border-slate-600 px-2 py-1 pb-1.5
|
||||
bg-slate-200 focus-within:bg-slate-50 rounded-md transition-all duration-100">
|
||||
|
||||
Reference in New Issue
Block a user