회원 가입시 닉네임 길이를 mb_strlen으로 해야하는 점 수정

아이디를 대소문자 다 받던 것 수정(소문자로 자동 변경)
This commit is contained in:
2018-03-23 10:19:27 +09:00
parent e4300fa5f6
commit c307215a85
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ if($SESSION->isLoggedIn()){
$SESSION->logout();
}
$username = util::array_get($_POST['username']);
$username = mb_strtolower(util::array_get($_POST['username']), 'utf-8');
$password = util::array_get($_POST['password']);
if(!$username || !$password){