Skip to content

Commit

Permalink
Merge pull request #3255 from gravitl/username_fix
Browse files Browse the repository at this point in the history
remove max length on username
  • Loading branch information
abhishek9686 authored Dec 16, 2024
2 parents 24a5757 + 584d90e commit e3e4382
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 e3e4382

Please sign in to comment.