Skip to content

Commit

Permalink
remove max length on username
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Dec 16, 2024
1 parent 24a5757 commit 584d90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/user_mgmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ type UserGroup struct {

// User struct - struct for Users
type User struct {
UserName string `json:"username" bson:"username" validate:"min=3,max=40,in_charset|email"`
UserName string `json:"username" bson:"username" validate:"min=3,in_charset|email"`
ExternalIdentityProviderID string `json:"external_identity_provider_id"`
Password string `json:"password" bson:"password" validate:"required,min=5"`
IsAdmin bool `json:"isadmin" bson:"isadmin"` // deprecated
Expand Down

0 comments on commit 584d90e

Please sign in to comment.