修改token冲突及 自动登录
This commit is contained in:
parent
0708d2cab5
commit
8c0a3b7e66
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="Pragma" content="no-cache">
|
||||
<meta http-equiv="Cache-Control" content="no-cache">
|
||||
<meta http-equiv="Expires" content="0">
|
||||
<title>登录</title>
|
||||
<link href="css/login.css" type="text/css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body style="display: none">
|
||||
|
||||
<div class="login">
|
||||
<div class="message">项目一体化作战动态管控平台</div>
|
||||
<div id="darkbannerwrap"></div>
|
||||
|
||||
<form id="login-form" method="post" onsubmit="return false;">
|
||||
<!-- 添加CSRF令牌 -->
|
||||
<input type="hidden" name="_csrf" id="csrfToken">
|
||||
<input id="username" name="username" placeholder="用户名" type="text" autocomplete="off">
|
||||
<hr class="hr15">
|
||||
<input id="password" name="password" placeholder="密码" type="password" autocomplete="off">
|
||||
<hr class="hr15">
|
||||
<button style="width: 100%;" type="submit" onclick="login(this)">登录</button>
|
||||
<hr class="hr20">
|
||||
<span id="info" style="color: red"></span>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
<script src="js/libs/jquery-3.7.0.min.js"></script>
|
||||
<script src="js/my/aes.js"></script>
|
||||
<script src="js/publicJs.js"></script>
|
||||
<script type="text/javascript" src="js/login.js"></script>
|
||||
|
||||
</html>
|
||||
Loading…
Reference in New Issue