add email for register
This commit is contained in:
1 parent
71d1c431a9
commit
dfcc7d54c1
2 files changed
+2
No files matched your search
@@ -65,6 +65,7 @@ type GroupUsersQuery struct {
|
||||
|
||||
type RegisterForm struct {
|
||||
Username string `json:"username" validate:"required,gte=4,lte=10"`
|
||||
Email string `json:"email" validate:"required,email"`
|
||||
Password string `json:"password" validate:"required,gte=4,lte=20"`
|
||||
ConfirmPassword string `json:"confirm_password" validate:"required,gte=4,lte=20"`
|
||||
}
|
||||
Reference in new issue
Block a user