Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
94f2c311
Commit
94f2c311
authored
Aug 30, 2011
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
retrieve password notification message reference from preference
parent
1bc2aa06
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRecovery_sendPasswordResetLink.xml
...5_credential/CredentialRecovery_sendPasswordResetLink.xml
+4
-1
bt5/erp5_credential/bt/revision
bt5/erp5_credential/bt/revision
+1
-1
No files found.
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRecovery_sendPasswordResetLink.xml
View file @
94f2c311
...
@@ -57,7 +57,10 @@ portal = context.getPortalObject()\n
...
@@ -57,7 +57,10 @@ portal = context.getPortalObject()\n
\n
\n
person = context.getDestinationDecisionValue(portal_type="Person")\n
person = context.getDestinationDecisionValue(portal_type="Person")\n
reference = person.getReference()\n
reference = person.getReference()\n
notification_message = portal.NotificationTool_getDocumentValue("crendential_recovery-reset-link",\n
message_reference = portal.portal_preferences.getPreferredCredentialPasswordRecoveryMessageReference()\n
if message_reference is None:\n
raise ValueError, "Preference not configured"\n
notification_message = portal.NotificationTool_getDocumentValue(message_reference,\n
context.getLanguage())\n
context.getLanguage())\n
\n
\n
context.REQUEST.set(\'came_from\', context.getUrlString())\n
context.REQUEST.set(\'came_from\', context.getUrlString())\n
...
...
bt5/erp5_credential/bt/revision
View file @
94f2c311
393
394
\ No newline at end of file
\ No newline at end of file
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