mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
feat: 登录强制校验弱密码&关键信息加密传输
This commit is contained in:
@@ -7,3 +7,9 @@ type AccountCreateForm struct {
|
||||
type AccountUpdateForm struct {
|
||||
Password *string `json:"password" binding:"min=6,max=16"`
|
||||
}
|
||||
|
||||
type AccountChangePasswordForm struct {
|
||||
Username string `json:"username"`
|
||||
OldPassword string `json:"oldPassword"`
|
||||
NewPassword string `json:"newPassword"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user