From 2edc98ad6f4d1692f236da47dca21771d87b6421 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 21 Dec 2023 13:04:54 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=84=EC=A0=95=EC=83=81=ED=83=9C=EC=97=90?= =?UTF-8?q?=20=EB=94=B0=EB=A5=B8=20=EC=9E=90=EB=8F=99=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EC=95=84=EC=9B=83=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/index.jsp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/webapp/WEB-INF/jsp/index.jsp b/src/main/webapp/WEB-INF/jsp/index.jsp index edd23c8c..eb1437f2 100644 --- a/src/main/webapp/WEB-INF/jsp/index.jsp +++ b/src/main/webapp/WEB-INF/jsp/index.jsp @@ -104,6 +104,20 @@ data:{}, success:resp => { MY_INFO = resp.myInfo; + if(MY_INFO.user.status == "A" || MY_INFO.user.status == "D" || MY_INFO.user.locked == "Y"){ + if(MY_INFO.user.status == "A"){ + alert("계정이 미승인 상태입니다."); + } else if(MY_INFO.user.status == "D"){ + alert("삭제된 계정입니다."); + } else if(MY_INFO.user.locked == "Y"){ + alert("잠금처리된 계정입니다."); + } + + var form = $("
"); + $("").appendTo(form); + form.appendTo("body").submit(); + } + } });