mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 17:27:34 +00:00
fix nil pointer deref (#2339)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user