Another (maybe more clean) way is to remove "action" from the <from>
alltogether:

--- pagetemplate.py.bak 2010-02-12 08:06:32.000000000 +0300
+++ pagetemplate.py     2010-04-15 20:33:39.000000000 +0400
@@ -303,7 +303,7 @@
 def _login_form(message="", name=""):
     form_text = """
         <p class="message">$message</p>
-        <form id="login" action="/login" method="POST">
+        <form id="login" method="POST">
         <p>
         <label for="username">Username</label>
         <input name="username" type="text" value="$username" />

This is indeed a bug, please fix it for the next release!

Thank you

Eugene

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to