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

This commit is contained in:
2026-07-05 22:03:59 +08:00
parent ae2ed2d961
commit 005e6a09b5
3 changed files with 0 additions and 31 deletions

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>