Skip to content

Commit

Permalink
fix nil pointer deref
Browse files Browse the repository at this point in the history
Fixes juanfont#2332

Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Jan 10, 2025
1 parent ede4f97 commit a4970f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hscontrol/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func (a *AuthProviderOIDC) OIDCCallbackHandler(

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

Expand Down

0 comments on commit a4970f3

Please sign in to comment.