Commit 3af46cdf authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_credential: Add mapping Dict to subtitution for reset password

parent 01f31089
...@@ -57,15 +57,16 @@ Parameters: \n ...@@ -57,15 +57,16 @@ Parameters: \n
reset_password_link -- Url to reset the password\n reset_password_link -- Url to reset the password\n
expiration_date -- Expiration Datetime of the link\n expiration_date -- Expiration Datetime of the link\n
"""\n """\n
return {\'reset_password_link\':reset_password_link,\n return dict(reset_password_link=reset_password_link,\n
\'expiration_date\': context.Base_FormatDate(date=expiration_date,\n expiration_date=context.Base_FormatDate(date=expiration_date,\n
hour_minute = True,\n hour_minute = True,\n
seconds = False)}\n seconds = False),\n
**kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>instance_name, reset_password_link, expiration_date</string> </value> <value> <string>instance_name, reset_password_link, expiration_date, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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