]> git.decadent.org.uk Git - maypole.git/blobdiff - templates/factory/login
Added "base" to the form's return path
[maypole.git] / templates / factory / login
index 5b04e7d731d58fe5fb0263df79d7de89a5412a1b..266921a5379a40e1e1a40a5f7b41fea3bac3ca34 100644 (file)
@@ -7,7 +7,7 @@
     [% IF login_error %]
         <div class="error"> [% login_error %] </div>
     [% END %]
-    <form method="post" action="/[% request.path %]">
+    <form method="post" action="[% base %]/[% request.path %]">
     <fieldset>
     <legend>Login</legend>
         <label>