From 9e1bd3df094e07882032556a5950e971e6c8e64e Mon Sep 17 00:00:00 2001 From: hyunseo Date: Mon, 11 Dec 2023 13:59:05 +0900 Subject: [PATCH] =?UTF-8?q?login=20=ED=98=95=EC=8B=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/util/LoginSystem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/LoginSystem.js b/src/util/LoginSystem.js index 299ab7b..a99ecb7 100644 --- a/src/util/LoginSystem.js +++ b/src/util/LoginSystem.js @@ -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;