From 3dbc62630465e8f38b5613584da2d98081959c6e Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Tue, 6 Feb 2024 09:24:46 +0800 Subject: [PATCH] 'commit' --- WebRoot/login.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/WebRoot/login.html b/WebRoot/login.html index 5371e049..8dc3593c 100644 --- a/WebRoot/login.html +++ b/WebRoot/login.html @@ -114,9 +114,7 @@ }, async: false, success: function (result) { - if (result.success) { - //存储csrf_token到本地存储器 - //setCsrfLocalStorage(result); + if (result.success) { window.location.href = '/QingLong/index.html'; } else { alert(result.msg); @@ -170,8 +168,6 @@ $("#system_name").html(result.title); $("#copyright").html(result.copy_right); $('title').html(result.title); - //存储csrf_token到本地存储器 - //setCsrfLocalStorage(result); } } });