Skip to content

Commit

Permalink
Update login invalid credentials error message (#2124)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramanan-ravi authored Apr 25, 2024
1 parent 74f59de commit 8397565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepfence_server/model/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (c *Company) GetDefaultUserGroup(ctx context.Context, pgClient *postgresqlD

type LoginRequest struct {
Email string `json:"email" validate:"required,email" required:"true"`
Password string `json:"password" validate:"required,password,min=8,max=32" required:"true"`
Password string `json:"password" validate:"required,min=1,max=32" required:"true"`
}

type APIAuthRequest struct {
Expand Down

0 comments on commit 8397565

Please sign in to comment.