휴먼계정인경우 본인인증 페이지 이동기능 수정

This commit is contained in:
wyh 2024-11-18 11:05:49 +09:00
parent 2b46907054
commit b109c9b441
2 changed files with 9 additions and 3 deletions

View File

@ -2035,7 +2035,7 @@ public class EgovLoginController {
if(resultVO.getDormantYn().equals("Y") || resultVO.getDormantYn() == "Y") {
String message = "휴면계정입니다.";
modelAndView.addObject("dormantYn", "Y");
modelAndView.addObject("status", "fail");
modelAndView.addObject("msg", message);
return modelAndView;

View File

@ -195,8 +195,14 @@ function actionLogin(){
}else if (data.status=="fail"){
$("#ret_msg").show();
$("#ret_msg_info").html('<i></i>'+data.msg);
if (data.dormantYn=="Y"){
document.loginForm2.action="<c:url value='/web/user/humanPage.do'/>";
document.loginForm2.submit();
}else{
$("#ret_msg").show();
$("#ret_msg_info").html('<i></i>'+data.msg);
}
}
//alert(JSON.stringify(data));