]> git.llucax.com Git - software/sercom.git/commitdiff
Bugfix: la carga masiva de alumnos guardaba el password sin encriptar.
authorLeandro Lucarella <llucax@gmail.com>
Thu, 15 Mar 2007 19:31:10 +0000 (19:31 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 15 Mar 2007 19:31:10 +0000 (19:31 +0000)
sercom/subcontrollers/curso/__init__.py

index 3ad2133004bae790e0ff8397669abe0bc93acb0f..d73b01beb5aac2c6e37c6bfa572b298f3fc8a838 100644 (file)
@@ -304,7 +304,7 @@ class CursoController(controllers.Controller, identity.SecureResource):
                 try:
                     u.email = row[2]
                     u.telefono = row[3]
-                    u.contrasenia = row[0]
+                    u.password = row[0]
                     u.activo = True
                     curso.add_alumno(u)
                     ok.append(row)