Skip to content

Commit

Permalink
login 형식
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonseokang committed Dec 11, 2023
1 parent 40cd72b commit 9e1bd3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/LoginSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class LoginSystem{
},);

if (exist == null) {
// let reg = /^(?=.*[a-zA-Z])(?=.*[!@#$%^*+=-])(?=.*[0-9]).{8,15}$/
let reg = /^(?=.*[a-zA-Z])(?=.*[!@#$%^*+=-])(?=.*[0-9]).{8,15}$/

// if (reg.test(this._password) == false) return 0;
if (reg.test(this._password) == false) return 0;

const hash = await cryptoModule.createHash(this._password);
const cryptedPW = hash.hashed;
Expand Down

0 comments on commit 9e1bd3d

Please sign in to comment.