password se agrego 2 caracteres más a la string

This commit is contained in:
2022-08-11 14:33:51 -05:00
parent 91a71c60e9
commit ffbbe0d3a8
2 changed files with 17 additions and 21 deletions
+2 -2
View File
@@ -19,9 +19,9 @@ export class BcryptService {
}
generarPassword = () => {
const length = 8;
const length = 10;
const charset =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+-@#$%&=?¿*()/_-';
let password = '';
for (let i = 0; i < length; i++)