보안로그인 토글
This commit is contained in:
parent
3dceedeabc
commit
2ef22663d8
@ -2952,7 +2952,6 @@ public class EgovMypageController {
|
||||
String userId = loginVO == null ? "" : EgovStringUtil.isNullToString(loginVO.getId());
|
||||
|
||||
|
||||
mberCertLoginLogVO.setLoginId(userId);
|
||||
/** pageing */
|
||||
PaginationInfo paginationInfo = new PaginationInfo();
|
||||
paginationInfo.setCurrentPageNo(mberCertLoginLogVO.getPageIndex());
|
||||
@ -2967,7 +2966,8 @@ public class EgovMypageController {
|
||||
mberCertLoginLogVO.setSearchSortOrd("asc");
|
||||
}
|
||||
|
||||
|
||||
|
||||
mberCertLoginLogVO.setLoginId(userId);
|
||||
//전체 발송 리스트 불러오기
|
||||
List<MberCertLoginLogVO> resultList = certLoginLogService.findAllCertLoginLogVO(mberCertLoginLogVO);
|
||||
model.addAttribute("resultList", resultList);
|
||||
|
||||
@ -37,14 +37,37 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
// on/off 시 confirm 창 노출
|
||||
$('.security_set .tab_depth1 a').click(function () {
|
||||
if ($(this).text().trim() == "ON") {
|
||||
confirm("보안로그인 설정 후 로그인 시, 등록한 휴대폰번호로 추가 인증이 진행됩니다");
|
||||
|
||||
} else {
|
||||
confirm("가입자 휴대폰번호로 본인인증 후 해제가 가능하며, 보안로그인 설정을 해제함으로써 발생하는 손해에 대하여 회사는 책임지지 않습니다.");
|
||||
openKMCISWindow();
|
||||
$('.security_tab a').click(function (e) {
|
||||
|
||||
|
||||
console.log($(this).hasClass("on"))
|
||||
if ($(this).hasClass("on") == false) {
|
||||
if ($(this).text().trim() == "ON") {
|
||||
if (!confirm("보안로그인 설정 후 로그인 시, 등록한 휴대폰번호로 추가 인증이 진행됩니다")) {
|
||||
$(this).removeClass("on");
|
||||
$(this).siblings("a").addClass("on");
|
||||
} else {
|
||||
$(this).addClass("on");
|
||||
$(this).siblings("a").removeClass("on");
|
||||
}
|
||||
} else {
|
||||
if (!confirm("가입자 휴대폰번호로 본인인증 후 해제가 가능하며, 보안로그인 설정을 해제함으로써 발생하는 손해에 대하여 회사는 책임지지 않습니다.")) {
|
||||
$(this).removeClass("on");
|
||||
$(this).siblings("a").addClass("on");
|
||||
} else {
|
||||
$(this).addClass("on");
|
||||
$(this).siblings("a").removeClass("on");
|
||||
openKMCISWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
// 인증번호 발송 버튼
|
||||
@ -617,8 +640,7 @@ function linkPage(pageNo){
|
||||
<div class="set_area">
|
||||
<p class="lately_date">최근 변경일시 : <span>2024-11-01 12:49</span></p>
|
||||
|
||||
<div class="tab_depth1">
|
||||
<!-- <a href="#none" class="on">ON</a> -->
|
||||
<div class="tab_depth1 security_tab">
|
||||
<a href="#none" class="on">ON</a>
|
||||
<a href="#none">OFF</a>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user