Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
04ccfd8c
Commit
04ccfd8c
authored
Jan 20, 2015
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_credential: Add preference for custom init password
parent
87462555
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_createUser.xml
...al_skins/erp5_credential/CredentialRequest_createUser.xml
+2
-1
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential.xml
...skins/erp5_credential/SystemPreference_viewCredential.xml
+1
-0
No files found.
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/CredentialRequest_createUser.xml
View file @
04ccfd8c
...
@@ -93,7 +93,8 @@ if not person.getPassword():\n
...
@@ -93,7 +93,8 @@ if not person.getPassword():\n
portal_type="Credential Recovery",\n
portal_type="Credential Recovery",\n
reference=login,\n
reference=login,\n
destination_decision=person.getRelativeUrl(),\n
destination_decision=person.getRelativeUrl(),\n
language=portal.Localizer.get_selected_language())\n
language=portal.Localizer.get_selected_language(),\n
document_reference=portal_preferences.getPreferredCredentialNewPasswordRecoveryMessageReference())\n
credential_recovery.submit()\n
credential_recovery.submit()\n
else:\n
else:\n
# system should generate a password\n
# system should generate a password\n
...
...
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential.xml
View file @
04ccfd8c
...
@@ -118,6 +118,7 @@
...
@@ -118,6 +118,7 @@
<string>
my_preferred_store_events
</string>
<string>
my_preferred_store_events
</string>
<string>
my_preferred_credential_password_recovery_message_reference
</string>
<string>
my_preferred_credential_password_recovery_message_reference
</string>
<string>
my_preferred_credential_username_recovery_message_reference
</string>
<string>
my_preferred_credential_username_recovery_message_reference
</string>
<string>
my_preferred_credential_new_password_recovery_message_reference
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
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