Browse Source

captcha click add Time

MaxKey 4 years ago
parent
commit
c89811f9c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      maxkey-web-maxkey/src/main/resources/templates/views/login.ftl

+ 1 - 1
maxkey-web-maxkey/src/main/resources/templates/views/login.ftl

@@ -131,7 +131,7 @@
 		<#--on captcha image click ,new a captcha code-->
 		<#if true==isCaptcha>
 		$('#j_captchaimg').click(function () {//
-	           $(this).attr("src", "<@base />/captcha"); 
+	           $(this).attr("src", "<@base />/captcha"+(new Date()).getTime()); 
 		}); 
 		</#if>