Commit 463e0ad8 authored by Mayoro Diagne's avatar Mayoro Diagne

2010-06-22 mayoro

* add view as default view of web page captcha

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36523 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2222bd5a
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
\n \n
if context.portal_membership.isAnonymousUser() and not captcha_ok:\n if context.portal_membership.isAnonymousUser() and not captcha_ok:\n
absolute_url = context.absolute_url()\n absolute_url = context.absolute_url()\n
new_url = \'captcha/CheckCaptcha\'\n new_url = \'captcha/CheckCaptcha/view\'\n
redirect_url = "%s/%s" % (absolute_url, new_url)\n redirect_url = "%s/%s" % (absolute_url, new_url)\n
else:\n else:\n
\n \n
......
...@@ -59,7 +59,7 @@ request=context.REQUEST\n ...@@ -59,7 +59,7 @@ request=context.REQUEST\n
\n \n
if context.portal_membership.isAnonymousUser() and not captcha_ok:\n if context.portal_membership.isAnonymousUser() and not captcha_ok:\n
absolute_url = context.absolute_url()\n absolute_url = context.absolute_url()\n
new_url = \'captcha/CheckCaptcha\'\n new_url = \'captcha/CheckCaptcha/view\'\n
redirect_url = "%s/%s" % (absolute_url, new_url)\n redirect_url = "%s/%s" % (absolute_url, new_url)\n
else:\n else:\n
portal_type = new_application_procedure\n portal_type = new_application_procedure\n
......
2010-06-22 mayoro
* add view as default view of web page captcha
2010-06-22 mayoro 2010-06-22 mayoro
* remove fixe value of recipient, mistake * remove fixe value of recipient, mistake
......
582 584
\ No newline at end of file \ No newline at end of file
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