Commit d8282e13 authored by Jérome Perrin's avatar Jérome Perrin

credential: fix typo on credential request notification message references

parent 264b69f4
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>crendential_request-confirmation-with-password</string> </value> <value> <string>credential_request-confirmation-with-password</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>crendential_request-confirmation-without-password</string> </value> <value> <string>credential_request-confirmation-without-password</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>crendential_request-confirmation-without-password</string> </value> <value> <string>credential_request-confirmation-without-password</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -12,7 +12,7 @@ if password: ...@@ -12,7 +12,7 @@ if password:
notification_type = "with-password" notification_type = "with-password"
#Get message from catalog #Get message from catalog
notification_reference = 'crendential_request-confirmation-%s' % notification_type notification_reference = 'credential_request-confirmation-%s' % notification_type
notification_message = portal.portal_notifications.getDocumentValue(reference=notification_reference, notification_message = portal.portal_notifications.getDocumentValue(reference=notification_reference,
language=recipient.getLanguage()) language=recipient.getLanguage())
if notification_message is None: if notification_message is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment