Use relative path when posting HTML forms

This commit is contained in:
Thomas Dall'Agnese
2019-12-28 18:55:46 +01:00
parent 45b5e602bb
commit c4ad96b715
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
<div id="content">
<form id="authentication" action="/web/" method="post">
<form id="authentication" action="./" method="post">
<h5>{{.account.username.title}}:</h5>
<input id="username" type="text" name="username" placeholder="Username" value="">

View File

@@ -24,7 +24,7 @@
<div id="content">
<form id="authentication" action="/web/" method="post">
<form id="authentication" action="./" method="post">
<h5>{{.login.username.title}}:</h5>
<input id="username" type="text" name="username" placeholder="Username" value="">