From 5d23032500b80df0a3ae6617962bf42cf2ffb78b Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 17 Apr 2020 01:30:05 +0900 Subject: [PATCH] =?UTF-8?q?$=5FPOST=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i_entrance/j_change_password.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/i_entrance/j_change_password.php b/i_entrance/j_change_password.php index 878443ab..7a490013 100644 --- a/i_entrance/j_change_password.php +++ b/i_entrance/j_change_password.php @@ -7,10 +7,8 @@ $session = Session::requireLogin([])->setReadOnly(); $userID = Session::getUserID(); // 외부 파라미터 -// $_POST['old_pw'] : PW -// $_POST['new_pw'] : 새 PW -$pw = $_POST['old_pw']; -$newPw = $_POST['new_pw']; +$pw = Util::getReq('old_pw'); +$newPw = Util::getReq('new_pw'); $response = ['result' => false];