[Erp5-report] r38962 fabien - in /experimental/bt5/erp5_credential: SkinTemplateItem/portal...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 7 15:54:37 CEST 2010
Author: fabien
Date: Thu Oct 7 15:54:36 2010
New Revision: 38962
URL: http://svn.erp5.org?rev=38962&view=rev
Log:
initiate request.came_from variable. This is used in mailPasswordResetRequest for the url included in the mail.
Modified:
experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRecovery_sendPasswordResetLink.xml
experimental/bt5/erp5_credential/bt/revision
Modified: experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRecovery_sendPasswordResetLink.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRecovery_sendPasswordResetLink.xml?rev=38962&r1=38961&r2=38962&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRecovery_sendPasswordResetLink.xml [utf8] (original)
+++ experimental/bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRecovery_sendPasswordResetLink.xml [utf8] Thu Oct 7 15:54:36 2010
@@ -57,7 +57,8 @@ person = context.getDestinationDecisionV
reference = person.getReference()\n
\n
portal = context.getPortalObject()\n
-portal.portal_password.mailPasswordResetRequest(user_login=reference)\n
+context.REQUEST.set(\'came_from\', context.getUrlString())\n
+portal.portal_password.mailPasswordResetRequest(user_login=reference, REQUEST=context.REQUEST)\n
</string> </value>
</item>
<item>
@@ -73,9 +74,7 @@ portal.portal_password.mailPasswordReset
<item>
<key> <string>_proxy_roles</string> </key>
<value>
- <tuple>
- <string>Manager</string>
- </tuple>
+ <tuple/>
</value>
</item>
<item>
Modified: experimental/bt5/erp5_credential/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/bt/revision?rev=38962&r1=38961&r2=38962&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/bt/revision [utf8] (original)
+++ experimental/bt5/erp5_credential/bt/revision [utf8] Thu Oct 7 15:54:36 2010
@@ -1 +1 @@
-286
\ No newline at end of file
+287
\ No newline at end of file
More information about the Erp5-report
mailing list