Util::array_get($_POST 류를 Util::getReq로 통합.
array_merge를 이상하게 처리하는 부분 수정
This commit is contained in:
+2
-2
@@ -10,8 +10,8 @@ if($session->isLoggedIn()){
|
||||
$session->logout();
|
||||
}
|
||||
|
||||
$username = mb_strtolower(Util::array_get($_POST['username']), 'utf-8');
|
||||
$password = Util::array_get($_POST['password']);
|
||||
$username = mb_strtolower(Util::getReq('username'), 'utf-8');
|
||||
$password = Util::getReq('password');
|
||||
|
||||
if(!$username || !$password){
|
||||
Json::die([
|
||||
|
||||
Reference in New Issue
Block a user