简化邮箱换绑流程,登录后仅验证新邮箱
This commit is contained in:
Vendored
+2
-4
@@ -226,10 +226,8 @@
|
||||
<div class="card form-card">
|
||||
<details id="change-email-panel">
|
||||
<summary>更换绑定邮箱</summary>
|
||||
<p class="muted">验证原邮箱和新邮箱后换绑。换绑后请使用新邮箱登录,其他设备将退出登录。</p>
|
||||
<p class="muted">登录后验证新邮箱即可换绑。换绑后请使用新邮箱登录,其他设备将退出登录。</p>
|
||||
<form id="change-email-form">
|
||||
<label>原邮箱验证码<div class="code-row"><input name="old_code" required pattern="[0-9]{6}" maxlength="6" inputmode="numeric" autocomplete="off" placeholder="原邮箱收到的 6 位验证码" /><button class="btn" type="button" id="change-email-old-code">获取验证码</button></div></label>
|
||||
<p class="form-hint muted" id="change-email-old-hint" role="status"></p>
|
||||
<label>新邮箱<input name="email" type="email" required maxlength="255" autocomplete="email" placeholder="输入新的邮箱地址" /></label>
|
||||
<label>新邮箱验证码<div class="code-row"><input name="new_code" required pattern="[0-9]{6}" maxlength="6" inputmode="numeric" autocomplete="off" placeholder="新邮箱收到的 6 位验证码" /><button class="btn" type="button" id="change-email-new-code">获取验证码</button></div></label>
|
||||
<p class="form-hint muted" id="change-email-new-hint" role="status"></p>
|
||||
@@ -269,7 +267,7 @@
|
||||
|
||||
<div id="toast" class="toast hidden" role="status" aria-live="polite"></div>
|
||||
|
||||
<script src="/js/app.js?v=17"></script>
|
||||
<script src="/js/app.js?v=18"></script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user