This commit is contained in:
2025-11-27 17:32:14 -06:00
parent 671f989976
commit f62a868b97
6 changed files with 25 additions and 5 deletions
+2 -1
View File
@@ -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() {