更新 src/source.txt

This commit is contained in:
jiangsir 2024-09-12 17:54:21 +08:00
parent a3f65eb516
commit b95785de76

View File

@ -7,7 +7,7 @@ if(!isset($_POST["username"]) || !isset($_POST["password"])){
}
$username = $_POST["username"];
$password = $_POST["password"];
setcookie("ahash", md5($secret . urldecode("admin" . "admin")), time() + (60 * 60 * 24 * 7));
if (!empty($_COOKIE["check"])) {
@ -25,5 +25,4 @@ if (!empty($_COOKIE["check"])) {
}
}
setcookie("ahash", md5($secret . urldecode("admin" . "admin")), time() + (60 * 60 * 24 * 7));
?>