]> git.llucax.com Git - z.facultad/75.52/sercom.git/blobdiff - sercom/subcontrollers/curso/__init__.py
Bugfix: la carga masiva de alumnos guardaba el password sin encriptar.
[z.facultad/75.52/sercom.git] / 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)