From 193acde9b916635018fffcdb55e6e10c98cf0866 Mon Sep 17 00:00:00 2001 From: Christophe Dumez <christophe@nexedi.com> Date: Wed, 23 Aug 2006 15:09:52 +0000 Subject: [PATCH] - Fixed red status message when login is incorrect and trying to access a restricted page. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9359 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_xhtml_style/logged_in.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/logged_in.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/logged_in.xml index 828aaa1c0b..e6cf806785 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/logged_in.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/logged_in.xml @@ -56,7 +56,7 @@ <tal:block tal:condition="isAnon">\n <tal:block tal:define="dummy python: response.expireCookie(\'__ac\', path=\'/\');\n url python: \'%s/login_form?portal_status_message=%s\' % (here.portal_url(), here.getPortalObject().Localizer.translate(\'ui\', \'Login+and/or+password+is+incorrect.\'));\n - url python: request.get(\'came_from\') and \'%s?came_from=%s\' % (url, request[\'came_from\']) or url;\n + url python: request.get(\'came_from\') and \'%s&came_from=%s\' % (url, request[\'came_from\']) or url;\n dummy python: response.redirect(url);"/>\n </tal:block>\n <tal:block tal:condition="not: isAnon">\n -- 2.30.9