Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
erp5
Commits
20b96139
Commit
20b96139
authored
Jul 06, 2011
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a bug in free_text question case and fix a typo.
parent
f05aab2a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/ERP5Site_newCredentialRecovery.xml
..._skins/erp5_credential/ERP5Site_newCredentialRecovery.xml
+2
-2
bt5/erp5_credential/bt/revision
bt5/erp5_credential/bt/revision
+1
-1
No files found.
bt5/erp5_credential/SkinTemplateItem/portal_skins/erp5_credential/ERP5Site_newCredentialRecovery.xml
View file @
20b96139
...
@@ -66,7 +66,7 @@ portal = context.getPortalObject()\n
...
@@ -66,7 +66,7 @@ portal = context.getPortalObject()\n
person_module = portal.getDefaultModule(\'Person\')\n
person_module = portal.getDefaultModule(\'Person\')\n
result = person_module.searchFolder(reference=reference)\n
result = person_module.searchFolder(reference=reference)\n
if len(result) != 1:\n
if len(result) != 1:\n
portal_status_message = portal.Base_translateString("Can\'t find corresponding person, it\'s not possible to recover
y
your credentials.")\n
portal_status_message = portal.Base_translateString("Can\'t find corresponding person, it\'s not possible to recover your credentials.")\n
return context.Base_redirect(\'\', keep_items = dict(portal_status_message=portal_status_message ))\n
return context.Base_redirect(\'\', keep_items = dict(portal_status_message=portal_status_message ))\n
\n
\n
person = result[0].getObject()\n
person = result[0].getObject()\n
...
@@ -82,7 +82,7 @@ keep_items = {}\n
...
@@ -82,7 +82,7 @@ keep_items = {}\n
message = "Credential Recovery Created."\n
message = "Credential Recovery Created."\n
dialog_id = dialog_id or "login_form"\n
dialog_id = dialog_id or "login_form"\n
\n
\n
if
question_title
and (answer == question_answer):\n
if
(question_title or question_free_text)
and (answer == question_answer):\n
createCredentialRecovery(reference=reference,\n
createCredentialRecovery(reference=reference,\n
default_credential_question_answer=default_credential_question_answer,\n
default_credential_question_answer=default_credential_question_answer,\n
destination_decision=person.getRelativeUrl(),\n
destination_decision=person.getRelativeUrl(),\n
...
...
bt5/erp5_credential/bt/revision
View file @
20b96139
360
361
\ 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