From 0f91e6bb09843b749dbd816d7980c8d8519fbb82 Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 7 Nov 2017 16:56:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=85=9C=20=ED=94=8C=EB=9F=AC?= =?UTF-8?q?=EA=B7=B8=EC=9D=B8=20=EC=88=98=EC=A0=95=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/social/register_member_update.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/plugin/social/register_member_update.php b/plugin/social/register_member_update.php index dc826fd96..db74e8f5c 100644 --- a/plugin/social/register_member_update.php +++ b/plugin/social/register_member_update.php @@ -41,15 +41,10 @@ if($tmp_mb_nick != $mb_nick) { alert('닉네임을 올바르게 입력해 주십시오.'); } -if( $mb_password ){ +if( ! isset($mb_password) || ! $mb_password ){ - if ($w == '' && !$mb_password) - alert('비밀번호가 넘어오지 않았습니다.'); - if($w == '' && $mb_password != $mb_password_re) - alert('비밀번호가 일치하지 않습니다.'); + $mb_password = md5(pack('V*', rand(), rand(), rand(), rand())); -} else { - $mb_password = ''; } if ($msg = empty_mb_name($mb_name)) alert($msg, "", true, true);