From 6b3886b0c39410d48a5ca6c578f9d664fa75c844 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 14 三月 2023 11:00:47 +0800
Subject: [PATCH] 增加密码复杂度验证

---
 src/main/webapp/views/login.html |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/login.html b/src/main/webapp/views/login.html
index 1c0772a..af1d465 100644
--- a/src/main/webapp/views/login.html
+++ b/src/main/webapp/views/login.html
@@ -133,6 +133,7 @@
             if (res.code === 200){
               localStorage.setItem("token", res.data.token);
               localStorage.setItem("username", res.data.username);
+              localStorage.setItem("password", password);
               window.location.href = "index.html";
             } else if (res.code === 10001) {
               layer.tips(res.msg, '#username', {tips: [4, '#ff0000']});

--
Gitblit v1.9.1