|
|
@ -104,6 +104,20 @@
|
|
|
|
data:{},
|
|
|
|
data:{},
|
|
|
|
success:resp => {
|
|
|
|
success:resp => {
|
|
|
|
MY_INFO = resp.myInfo;
|
|
|
|
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 = $("<form action=\"/logout.do\", method=\"POST\">");
|
|
|
|
|
|
|
|
$("<input name=\"${_csrf.parameterName}\" value=\"${_csrf.token}\" type=\"hidden\">").appendTo(form);
|
|
|
|
|
|
|
|
form.appendTo("body").submit();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|