43 lines
1.6 KiB
HTML
43 lines
1.6 KiB
HTML
<!doctype html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="UTF-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<title>{{ app_name }} - 忘记密码</title>
|
||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v=20260406a" />
|
||
<link rel="stylesheet" href="/static/style.css?v=20260410a" />
|
||
</head>
|
||
<body class="simple-page">
|
||
<main class="simple-wrap">
|
||
<section class="panel simple-panel">
|
||
<h2>忘记密码</h2>
|
||
|
||
<div class="grid2">
|
||
<div>
|
||
<label>用户名</label>
|
||
<input id="username" type="text" placeholder="请输入账号用户名" />
|
||
</div>
|
||
<div>
|
||
<label>重置码</label>
|
||
<input id="resetKey" type="password" placeholder="请输入管理员提供的重置码" />
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<label>新密码</label>
|
||
<input id="newPassword" type="password" placeholder="请输入新密码(至少 6 位)" />
|
||
</div>
|
||
<p class="muted small">请向管理员获取重置码。若未改配置,默认重置码为 x2ws-reset-2026(建议尽快修改)。</p>
|
||
<div class="actions">
|
||
<button id="resetBtn" class="primary" type="button">重置密码</button>
|
||
</div>
|
||
<p id="status" class="status"></p>
|
||
<div class="actions">
|
||
<a class="subtle-link" href="/auth?next=/">返回登录页</a>
|
||
<a class="subtle-link" href="/settings">去设置页</a>
|
||
</div>
|
||
</section>
|
||
</main>
|
||
<script src="/static/forgot_password.js?v=20260410b"></script>
|
||
</body>
|
||
</html>
|