Skip to content

Commit db44072

Browse files
committed
fix: update register required
1 parent e74667f commit db44072

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kaiyuanshe/controllers/common.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ type UpdateEventPublishStatusRequest struct {
5757

5858
// register
5959
type RegisterRequest struct {
60-
Username string `json:"username" binding:"required,min=3,max=20"`
61-
Email string `json:"email" binding:"required,email"`
62-
Password string `json:"password" binding:"required,min=6,max=32"`
60+
Username string `json:"username" binding:"required"`
61+
Email string `json:"email" binding:"required"`
62+
Password string `json:"password" binding:"required"`
6363
}
6464

6565
// login

0 commit comments

Comments
 (0)