fix(ui): username change no longer requires password confirmation

This commit is contained in:
2026-07-05 22:03:59 +08:00
parent c0130afe12
commit f4b1c96148
3 files changed
-31

No files matched your search

-2
View File
@@ -19,8 +19,6 @@
<input type="text" value="{{ user.username }}" disabled>
<label>新用户名</label>
<input type="text" name="new_username" required maxlength="64" placeholder="输入新用户名">
<label>确认密码</label>
<input type="password" name="password" required placeholder="输入当前密码确认身份">
<div class="form-actions">
<button type="submit" class="btn btn-primary">修改用户名</button>
</div>