Skip to content

Commit caad5c6

Browse files
authored
fix nil pointer deref (#2339)
1 parent 38aef77 commit caad5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hscontrol/oidc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ func (a *AuthProviderOIDC) OIDCCallbackHandler(
349349

350350
// Neither node nor machine key was found in the state cache meaning
351351
// that we could not reauth nor register the node.
352-
http.Error(writer, err.Error(), http.StatusInternalServerError)
352+
http.Error(writer, "login session expired, try again", http.StatusInternalServerError)
353353
return
354354
}
355355

0 commit comments

Comments
 (0)