summaryrefslogtreecommitdiffstats
path: root/idp/extra/modules/identities_ui.ptl
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@0d.be>2008-05-13 15:05:12 (GMT)
committerFrederic Peters <fpeters@0d.be>2008-05-13 15:05:12 (GMT)
commit44253ff0396014a318c33c7817dfae8a149c6fdc (patch)
tree4f9cb0641533c938d97658f6d15448a56d6c03ce /idp/extra/modules/identities_ui.ptl
parent08671d45ad179a3f485d551b5ea8f1fe12a29197 (diff)
downloadpratic-44253ff0396014a318c33c7817dfae8a149c6fdc.zip
pratic-44253ff0396014a318c33c7817dfae8a149c6fdc.tar.gz
pratic-44253ff0396014a318c33c7817dfae8a149c6fdc.tar.bz2
fixed setting up password on agent creation
Diffstat (limited to 'idp/extra/modules/identities_ui.ptl')
-rw-r--r--idp/extra/modules/identities_ui.ptl4
1 files changed, 3 insertions, 1 deletions
diff --git a/idp/extra/modules/identities_ui.ptl b/idp/extra/modules/identities_ui.ptl
index c3adbd5..c21b06e 100644
--- a/idp/extra/modules/identities_ui.ptl
+++ b/idp/extra/modules/identities_ui.ptl
@@ -483,7 +483,8 @@ class IdentitiesDirectory(Directory):
'<h2>%s</h2>' % _('New Agent')
'<p>'
- _('A new agent has been created in the LDAP directory, the login informations are:')
+ _('A new agent has been created in the LDAP directory, you may want to send '
+ 'those login informations :')
'</p>'
'<ul>'
'<li>%s</li>' % _('Username: %s') % agent.username
@@ -504,6 +505,7 @@ class IdentitiesDirectory(Directory):
'sn': form.get_widget('sn').parse(),
'givenName': form.get_widget('givenName').parse(),
'cdg59agentSirhCode': form.get_widget('cdg59agentSirhCode').parse(),
+ 'password': form.get_widget('password').parse(),
'mail': form.get_widget('mail').parse()})
except ldap.ALREADY_EXISTS, error:
if type(error.args[0]) is dict: # native ldap exception