After investigations, commit the proposed patch by kklimonda presented with the
authorSimon Descarpentries <sid@sopinspace.com>
Wed, 09 May 2012 17:13:33 +0200
changeset 417 c5e91f204371
parent 416 5573b959131d
child 418 8e3c6d8c39f8
After investigations, commit the proposed patch by kklimonda presented with the following introduction : cm/templates/site/login_form.html template uses a relative url for the form action, which seems to break deployment in the subfolder when trailing slash is missing (the form redirects to the upper folder breaking login). Using {% url login %} (as in the attached patch) instead would fix the issue.
src/cm/templates/site/login_form.html
--- a/src/cm/templates/site/login_form.html	Wed May 09 09:36:49 2012 +0200
+++ b/src/cm/templates/site/login_form.html	Wed May 09 17:13:33 2012 +0200
@@ -1,7 +1,7 @@
 {% load i18n %}
 <div id="login_container">
 
-<form id="login" enctype="multipart/form-data" class="wizard-form" action="." method="post">
+<form id="login" enctype="multipart/form-data" class="wizard-form" action="{% url login %}" method="post">
 
 <div class="underline_border">
 {% blocktrans with CONF.workspace_name as wname %}{{ wname }} Login{% endblocktrans %}
@@ -33,4 +33,4 @@
 
 </form>
 
-</div>
\ No newline at end of file
+</div>