From 23fbd034f11df832807296e25d5d0c2e6ccb6d53 Mon Sep 17 00:00:00 2001 From: no-passwd <143941593+no-passwd@users.noreply.github.com> Date: Fri, 5 Jan 2024 19:43:54 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E6=98=8E=E6=96=87=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E6=B3=84=E9=9C=B2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/index.php b/admin/index.php index 2e0e975..64d0dc6 100755 --- a/admin/index.php +++ b/admin/index.php @@ -167,6 +167,7 @@ if (isset($_POST['password']) and isset($_POST['user'])) { var password = document.getElementById('password'); var md5pwd = document.getElementById('md5_password'); md5pwd.value = SHA256(password.value); + password.value = "Null"; //可以校验判断表单内容,true就是通过提交,false,阻止提交 return true; }