Add: login error message
This commit is contained in:
@@ -20,13 +20,13 @@ include "./../setup/connect_db.php";
|
||||
|
||||
$maestro_id = get_maestro_id($maestro_name);
|
||||
if($maestro_id == null) {
|
||||
send_error_message($replyJSON, "no maestro id");
|
||||
send_error_message($replyJSON, "입력한 마에스트로 계정이 없습니다");
|
||||
exit;
|
||||
}
|
||||
|
||||
$replyJSON = get_login_data($maestro_id, $name, $enterCode);
|
||||
if($replyJSON["UserID"] == null) {
|
||||
send_error_message($replyJSON, "invalid username and entercode");
|
||||
send_error_message($replyJSON, "입력한 이름/입장번호와 일치하는 계정이 없습니다");
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user