mirror of
https://github.com/juanfont/headscale.git
synced 2025-01-19 02:10:04 +09:00
fix nil pointer deref (#2339)
This commit is contained in:
parent
38aef77e54
commit
caad5c613d
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ func (a *AuthProviderOIDC) OIDCCallbackHandler(
|
||||||
|
|
||||||
// Neither node nor machine key was found in the state cache meaning
|
// Neither node nor machine key was found in the state cache meaning
|
||||||
// that we could not reauth nor register the node.
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue