Correction
authorCyril Robert <Cyril Robert crobert@inverse.ca>
Fri, 19 Feb 2010 20:48:07 +0000 (15:48 -0500)
committerCyril Robert <Cyril Robert crobert@inverse.ca>
Fri, 19 Feb 2010 20:48:07 +0000 (15:48 -0500)
Apps/roundup/auf_roa.py

index c09dc76..8918668 100644 (file)
@@ -28,9 +28,9 @@ class AufRoaLoginAction(LoginAction):
             self.client.error_message.append(_("Compte invalide ou erreur ROA"))
             return
 
-        props = {'realname': "%s %s" % (user.first_name, user.last_name),
-                 'username': user.email,
-                 'address': user.email}
+        props = {'realname': "%s %s" % (user['first_name'], user['last_name']),
+                 'username': user['email'],
+                 'address': user['email']}
         self.journaltag = 'admin'
         cl = self.db.user
         props['roles'] = self.db.config.NEW_WEB_USER_ROLES