From a901f052feace4f91917163eda5701ab26100e3a Mon Sep 17 00:00:00 2001 From: bnu Date: Mon, 23 Mar 2015 17:16:02 +0900 Subject: [PATCH] =?UTF-8?q?#1316=20`createTemporaryPassword()`=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=ED=8A=B9=EC=88=98=EB=AC=B8=EC=9E=90=EB=A5=BC=20?= =?UTF-8?q?=ED=8F=AC=ED=95=A8=ED=95=98=EC=A7=80=20=EB=AA=BB=ED=95=98?= =?UTF-8?q?=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/security/Password.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/security/Password.class.php b/classes/security/Password.class.php index 3280c3564..513021e8f 100644 --- a/classes/security/Password.class.php +++ b/classes/security/Password.class.php @@ -319,7 +319,7 @@ class Password { $candidate = substr($source, $i, $length); if(preg_match('/[a-z]/', $candidate) && preg_match('/[A-Z]/', $candidate) && - preg_match('/[0-9]/', $candidate) && preg_match('/[!a-zA-Z0-9]/', $candidate)) + preg_match('/[0-9]/', $candidate) && preg_match('/[^a-zA-Z0-9]/', $candidate)) { return $candidate; }