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);