cambios
This commit is contained in:
@@ -56,7 +56,8 @@ export class AuthService {
|
||||
}
|
||||
|
||||
async encriptar(password) {
|
||||
return await bcrypt.hash(password);
|
||||
const saltRounds = 10;
|
||||
return await bcrypt.hash(password,saltRounds);
|
||||
}
|
||||
|
||||
async generarPassword() {
|
||||
|
||||
Reference in New Issue
Block a user