se agregaron cambios del inicio de sesiòn con google

This commit is contained in:
2025-09-03 08:44:21 -06:00
parent d8d2154cbe
commit 0ae79f833e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -99,6 +99,7 @@ export class AuthService {
// 3) Crear entidad Usuario
const user = this.userRepo.create({
correo: dto.email,
contraseña:undefined,
origen: origen,
});
+1 -1
View File
@@ -169,7 +169,7 @@ export class UsuariosDelSistema {
})
correo: string | null;
@Column({ type: 'varchar', length: 60 })
@Column({ type: 'varchar', length: 60, default:null })
contraseña: string;
@ManyToOne(() => Origen, origen => origen.usuariosDelSistema)