feat: 支持修改用户名

This commit is contained in:
naiba
2024-11-30 15:05:46 +08:00
parent 44aded493e
commit f62934440d
3 changed files with 3 additions and 1 deletions

View File

@@ -7,5 +7,6 @@ type UserForm struct {
type ProfileForm struct {
OriginalPassword string `json:"original_password,omitempty"`
NewUsername string `json:"new_username,omitempty"`
NewPassword string `json:"new_password,omitempty"`
}