general table의 no_member를 의미에 더 맞도록 owner로 변경.
general table의 user_id, password column 삭제. 코드도 이를 참조하지 않고 owner를 이용하도록 변경
This commit is contained in:
+2
-1
@@ -13,7 +13,6 @@ $id = $_POST['id'];
|
||||
$pw = $_POST['pw'];
|
||||
$conmsg = $_POST['conmsg'];
|
||||
|
||||
$_SESSION['conmsg'] = $conmsg;//XXX: conmsg를 처리할 더 적절한 장소는?
|
||||
|
||||
$id = _String::NoSpecialCharacter($id);
|
||||
$pw = substr($pw, 0, 32);
|
||||
@@ -34,6 +33,8 @@ if($DB->Count($rs) == 1) {
|
||||
$SESSION->Login($member['NO'], $id);
|
||||
$DB->Update('MEMBER', "CONMSG='{$conmsg}', IP='{$_SERVER['REMOTE_ADDR']}'", "NO='{$member['NO']}'");
|
||||
|
||||
$_SESSION['conmsg'] = $conmsg;//XXX: conmsg를 처리할 더 적절한 장소는?
|
||||
|
||||
$response['result'] = 'SUCCESS';
|
||||
} else {
|
||||
$response['result'] = 'FAIL';
|
||||
|
||||
Reference in New Issue
Block a user