Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
preetwinder
erp5
Commits
a63c9cb6
Commit
a63c9cb6
authored
9 years ago
by
Cédric Le Ninivin
Browse files
Options
Download
Email Patches
Plain Diff
erp5_credential: Add mapping Dict to subtitution for reset password
parent
ece9541c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/NotificationMessage_getSubstitutionFromPasswordReset.xml
.../NotificationMessage_getSubstitutionFromPasswordReset.xml
+5
-4
No files found.
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/NotificationMessage_getSubstitutionFromPasswordReset.xml
View file @
a63c9cb6
...
...
@@ -57,15 +57,16 @@ Parameters: \n
reset_password_link -- Url to reset the password\n
expiration_date -- Expiration Datetime of the link\n
"""\n
return
{\'
reset_password_link
\':
reset_password_link,\n
\'
expiration_date
\':
context.Base_FormatDate(date=expiration_date,\n
return
dict(
reset_password_link
=
reset_password_link,\n
expiration_date
=
context.Base_FormatDate(date=expiration_date,\n
hour_minute = True,\n
seconds = False)}\n
seconds = False),\n
**kw)\n
</string>
</value>
</item>
<item>
<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>
<key>
<string>
id
</string>
</key>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment