Skip to content

Commit 597b8c9

Browse files
authored
Comment response invalidCredentials status has changed from 400 to 401 (#4866)
Signed-off-by: DongYoung Kim <[email protected]>
1 parent e01444b commit 597b8c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chaoscenter/authentication/api/handlers/rest/user_handlers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func InviteUsers(service services.ApplicationService) gin.HandlerFunc {
263263
// @Failure 400 {object} response.ErrInvalidRequest
264264
// @Failure 400 {object} response.ErrUserNotFound
265265
// @Failure 400 {object} response.ErrUserDeactivated
266-
// @Failure 400 {object} response.ErrInvalidCredentials
266+
// @Failure 401 {object} response.ErrInvalidCredentials
267267
// @Failure 500 {object} response.ErrServerError
268268
// @Success 200 {object} response.LoginResponse{}
269269
// @Router /login [post]

0 commit comments

Comments
 (0)