Skip to content

Commit

Permalink
templates: login: Use /login/ as endpoint
Browse files Browse the repository at this point in the history
Needed because otherwise the POST-ed data will be sent to a
redirect from /login to /login/, triggering an unnecessary
browser warning.
  • Loading branch information
ix5 committed Jun 12, 2022
1 parent 15f6606 commit 7a0faa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isso/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h2>Administration</h2>
<main>
<div id="login">
Administration secured by password:
<form method="POST" action="{{isso_host_script}}/login">
<form method="POST" action="{{isso_host_script}}/login/">
<input type="password" name="password" autofocus />
</form>
</div>
Expand Down

0 comments on commit 7a0faa1

Please sign in to comment.