From 9a5a0fd5e52fb94d7c6c4648958637f789837e14 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Wed, 22 Apr 2026 15:35:02 +0900 Subject: [PATCH] =?UTF-8?q?260422=5F05=5FENH:=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EC=9D=B8=20=EC=8B=9C=20=EC=B5=9C=EC=B4=88=201=ED=9A=8C?= =?UTF-8?q?=EB=A7=8C=20=ED=9C=B4=EB=8C=80=EC=A0=84=ED=99=94=20=EC=9D=B8?= =?UTF-8?q?=EC=A6=9D=EC=9D=84=20=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Recruit/Ajax/AjaxSelect.asp | 22 +++++++++---------- .../phoneIdentityVerificationProc.asp | 8 +++---- Recruit/Include/Head.asp | 4 ++-- Recruit/Include/js.asp | 17 +++++++++----- 4 files changed, 28 insertions(+), 23 deletions(-) diff --git a/Recruit/Ajax/AjaxSelect.asp b/Recruit/Ajax/AjaxSelect.asp index 0b031fe..41f26ed 100644 --- a/Recruit/Ajax/AjaxSelect.asp +++ b/Recruit/Ajax/AjaxSelect.asp @@ -18,33 +18,33 @@ case "login" Dim r_id : r_id = Request("r_id") Dim r_pw : r_pw = Request("r_pw") + Session("name") = "" + Session("phone") = "" + Session("r_phone") = "" + Session("position") = "" + DBConnect() SQL = "" - SQL = SQL&" select r_name, dbo.base64_decode(r_phone) phone, r_phone, r_position, "&VbCrlf - SQL = SQL&" Flag from exitpoll.dbo.R_info "&VbCrlf + SQL = SQL&" select r_name, dbo.base64_decode(r_phone) phone, r_phone, r_position, Flag, chk as mobile_check "&VbCrlf + SQL = SQL&" from exitpoll.dbo.R_info "&VbCrlf SQL = SQL&" where r_name = '"&r_id&"' and dbo.base64_decode(r_pass) = '"&r_pw&"' "&VbCrlf Objdb.Open SQL,DBConn,3,1,1 if not Objdb.eof Then - If objdb("Flag") = "1" Then + IF objdb("mobile_check") = "0" Then + Response.write "NotMobileCheck" + + ElseIf objdb("Flag") = "1" Then Session("name") = objdb("r_name") Session("phone") = objdb("phone") Session("r_phone") = objdb("r_phone") Session("position") = objdb("r_position") Response.Write "True" Else - Session("name") = "" - Session("phone") = "" - Session("r_phone") = "" - Session("position") = "" Response.write "X" End If Else - Session("name") = "" - Session("phone") = "" - Session("r_phone") = "" - Session("position") = "" Response.Write "False" End If diff --git a/Recruit/Identification/phoneIdentityVerificationProc.asp b/Recruit/Identification/phoneIdentityVerificationProc.asp index bb902c0..5a120ca 100644 --- a/Recruit/Identification/phoneIdentityVerificationProc.asp +++ b/Recruit/Identification/phoneIdentityVerificationProc.asp @@ -158,23 +158,23 @@ success: function (res) { if (res === "nouser") { alert("휴대폰 본인인증 결과와 일치하지 않는 정보입니다.\n다시 입력해주세요."); - window.open("about:blank", "_self").close(); } else if (res === "complete") { + /* if (window.opener && !window.opener.closed) { window.opener.document.getElementById("mobileVerified").value = "Y"; window.opener.document.getElementById("LoginOk").disabled = false; } + */ alert("본인인증이 완료되었습니다."); - window.open("about:blank", "_self").close(); + $("#LoginOk", opener.document).click(); } else { alert("System Error\n관리자 문의"); - window.open("about:blank", "_self").close(); } }, error: function () { alert("System Error\n관리자 문의"); - window.open("about:blank", "_self").close(); } + //window.open("about:blank", "_self").close(); }); <% Else %> // source가 signup 등인 경우 diff --git a/Recruit/Include/Head.asp b/Recruit/Include/Head.asp index 6c4d5d6..f9de238 100644 --- a/Recruit/Include/Head.asp +++ b/Recruit/Include/Head.asp @@ -45,11 +45,11 @@ -
+ - +