Skip to content

Commit

Permalink
fix nil pointer deref (#2339)
Browse files Browse the repository at this point in the history
  • Loading branch information
kradalby authored Jan 16, 2025
1 parent 38aef77 commit caad5c6
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 caad5c6

Please sign in to comment.