Commit 475d308f authored by Christophe Dumez's avatar Christophe Dumez

- Fixed login bug due to some restricted names (hidden, realm)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8191 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8fc08dd5
......@@ -68,8 +68,7 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>context.getPortalObject()["portal_subversion"].setLogin(realm, user, password)\n
return realm_hidden\n
<value> <string>context.getPortalObject()["portal_subversion"].setLogin(auth, user, password)\n
if caller == \'update\':\n
return context.REQUEST.RESPONSE.redirect(context.absolute_url() + \'/BusinessTemplate_doSvnUpdate\')\n
elif caller == \'updatewc\':\n
......@@ -96,7 +95,7 @@ else:\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>user,password,realm,added,modified,removed,caller,changelog,**kw</string> </value>
<value> <string>user,password,auth,added,modified,removed,caller,changelog,**kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -124,7 +123,7 @@ else:\n
<tuple>
<string>user</string>
<string>password</string>
<string>realm</string>
<string>auth</string>
<string>added</string>
<string>modified</string>
<string>removed</string>
......@@ -134,7 +133,6 @@ else:\n
<string>_getattr_</string>
<string>_getitem_</string>
<string>context</string>
<string>realm_hidden</string>
</tuple>
</value>
</item>
......
......@@ -74,9 +74,10 @@
<key> <string>left</string> </key>
<value>
<list>
<string>realm</string>
<string>realm_txt</string>
<string>your_user</string>
<string>your_password</string>
<string>your_auth</string>
</list>
</value>
</item>
......@@ -85,7 +86,6 @@
<value>
<list>
<string>your_removed</string>
<string>your_realm</string>
<string>your_modified</string>
<string>your_changelog</string>
<string>your_caller</string>
......
......@@ -14,7 +14,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>realm</string> </value>
<value> <string>realm_txt</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......
......@@ -14,7 +14,7 @@
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_caller</string> </value>
<value> <string>your_auth</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
......@@ -283,7 +283,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/caller</string> </value>
<value> <string>python: here.realm</string> </value>
</item>
</dictionary>
</pickle>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment