mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-09 01:18:04 +02:00
Fix empty password error when trying to change the username (#418)
This commit is contained in:
@ -247,3 +247,7 @@ func (dto *UserDTO) ToUser() *User {
|
||||
Password: dto.Password,
|
||||
}
|
||||
}
|
||||
|
||||
type UserUsernameDTO struct {
|
||||
Username string `form:"username" validate:"required,max=24,alphanumdash,notreserved"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user