Skip to content

Commit 5b4d9a5

Browse files
committed
StatusForbidden
1 parent 0ed38ed commit 5b4d9a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/userauth.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ func (api *API) oauthLogin(r *http.Request, params *oauthLoginParams) ([]*http.C
13201320
signupsDisabledText = api.OIDCConfig.SignupsDisabledText
13211321
}
13221322
return httpError{
1323-
code: http.StatusBadRequest,
1323+
code: http.StatusForbidden,
13241324
msg: "Signups are disabled",
13251325
detail: signupsDisabledText,
13261326
renderStaticPage: true,

0 commit comments

Comments
 (0)