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
903e404c
Commit
903e404c
authored
10 years ago
by
Cédric Le Ninivin
Browse files
Options
Download
Email Patches
Plain Diff
erp5_credential: Add preference for custom init password
parent
c3a980f4
Changes
2
Hide 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 @
903e404c
...
...
@@ -101,7 +101,8 @@ if not login.hasPassword():\n
portal_type="Credential Recovery",\n
reference=reference,\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
else:\n
# system should generate a password\n
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/SystemPreference_viewCredential.xml
View file @
903e404c
...
...
@@ -118,6 +118,7 @@
<string>
my_preferred_store_events
</string>
<string>
my_preferred_credential_password_recovery_message_reference
</string>
<string>
my_preferred_credential_username_recovery_message_reference
</string>
<string>
my_preferred_credential_new_password_recovery_message_reference
</string>
</list>
</value>
</item>
...
...
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