Preserve safe return paths through sign-in
CI / test (push) Failing after 3m18s

This commit is contained in:
2026-09-16 05:36:36 +02:00
parent b6d264c9ec
commit 87809b2344
8 changed files with 116 additions and 6 deletions
+1
View File
@@ -7,6 +7,7 @@
{{with $form.Message}}<p class='form-message error'>{{.}}</p>{{end}}
<form action='{{webPath "login"}}' method='POST'>
<input type='hidden' name='csrf_token' value='{{.CSRFToken}}'>
{{with $form.ReturnTo}}<input type='hidden' name='return_to' value='{{.}}'>{{end}}
<label for='email'>E-Mail-Adresse</label>
<input id='email' name='email' type='email' value='{{$form.Email}}' autocomplete='email' required>
{{with index $form.Errors "email"}}<p class='field-error'>{{.}}</p>{{end}}