Sfoglia il codice sorgente

패스워드 초기화에 대한 안내 추가

gagamel 4 anni fa
parent
commit
fec831adf8
1 ha cambiato i file con 12 aggiunte e 2 eliminazioni
  1. 12 2
      src/main/webapp/WEB-INF/views/signin.html

+ 12 - 2
src/main/webapp/WEB-INF/views/signin.html

@@ -30,9 +30,15 @@
 			<ul>
 				<li>
 					<ul class="loginBox">
-						<li th:style="${error == null ? 'display: none;' : ''}">
+<!-- 						<li th:style="${error == null ? 'display: none;' : ''}"> -->
+<!-- 							<div class="alertBox alert-danger" id="loginFailAlert"> -->
+<!-- 								<strong th:text="${error}">사용자ID 또는 비밀번호가 일치하지 않습니다.</strong> -->
+<!-- 								<button type="button" class="alertClose" onclick="uifnAlertClose('loginFailAlert');">닫기</button> -->
+<!-- 							</div> -->
+<!-- 						</li> -->
+						<li>
 							<div class="alertBox alert-danger" id="loginFailAlert">
-								<strong th:text="${error}">사용자ID 또는 비밀번호가 일치하지 않습니다.</strong>
+								<strong id="error">패스워드가 초기화 되었습니다. 본인 아이디_st24 형식으로<br/>로그인 후 비밀번호를 변경하시기 바랍니다.</strong>
 								<button type="button" class="alertClose" onclick="uifnAlertClose('loginFailAlert');">닫기</button>
 							</div>
 						</li>
@@ -98,6 +104,10 @@
 			$('#loginForm input[name=passwd]').focus();
 			$('#saveId').prop('checked', true);
 		}
+		
+		if (!gagajf.isNull([[${error}]])) {
+			$('#error').html([[${error}]]);
+		}
 	});
 /*]]>*/
 </script>