diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2026-02-06 16:17:17 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2026-02-06 16:17:17 -0800 |
| commit | cf9e3f0f753e69c5bfa0838787e1c9833a060646 (patch) | |
| tree | eb93827bc0633864307777c2bdaeae69065da1b5 /templates/login.html.template | |
| parent | b7b59ca3096215b623e27ac943e6d40d9532fc6b (diff) | |
| download | roseh.moe-cf9e3f0f753e69c5bfa0838787e1c9833a060646.tar.zst | |
Keep redirect query param on incorrect password
This makes it a little less weird when you enter an incorrect password
and the URL changes.
Diffstat (limited to 'templates/login.html.template')
| -rw-r--r-- | templates/login.html.template | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/login.html.template b/templates/login.html.template index e9ffe2b..1aef0f2 100644 --- a/templates/login.html.template +++ b/templates/login.html.template @@ -4,8 +4,7 @@ {{if .Error}} <p class="login-error"><img class="inline" src="/static/angry.webp">Incorrect password</p> {{end}} - <form class="password-form" action="/login" method="post"> - <input type="hidden" name="redirect" value="{{.Redirect}}"> + <form class="password-form" method="post"> <table> <tr class="password-form-row"> <td><label class="password-label" for="password">Enter password</label></td> @@ -17,7 +16,7 @@ </tr> <tr> <td></td> - <td><input type="image" class="submit" src="/static/point.webp" alt="Submit"></td> + <td><input type="image" width="100" class="submit" src="/static/point.webp" alt="Submit"></td> </table> </form> </section> |
