feat: 支持修改用户名

This commit is contained in:
naiba
2024-11-30 15:05:46 +08:00
parent 38d898c078
commit bbcfd6a83b
3 changed files with 3 additions and 1 deletions
+1
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"`
}