se agregaron cambios del inicio de sesiòn con google
This commit is contained in:
@@ -99,6 +99,7 @@ export class AuthService {
|
|||||||
// 3) Crear entidad Usuario
|
// 3) Crear entidad Usuario
|
||||||
const user = this.userRepo.create({
|
const user = this.userRepo.create({
|
||||||
correo: dto.email,
|
correo: dto.email,
|
||||||
|
contraseña:undefined,
|
||||||
origen: origen,
|
origen: origen,
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ export class UsuariosDelSistema {
|
|||||||
})
|
})
|
||||||
correo: string | null;
|
correo: string | null;
|
||||||
|
|
||||||
@Column({ type: 'varchar', length: 60 })
|
@Column({ type: 'varchar', length: 60, default:null })
|
||||||
contraseña: string;
|
contraseña: string;
|
||||||
|
|
||||||
@ManyToOne(() => Origen, origen => origen.usuariosDelSistema)
|
@ManyToOne(() => Origen, origen => origen.usuariosDelSistema)
|
||||||
|
|||||||
Reference in New Issue
Block a user