mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-20 20:34:34 +09:00
fix nil pointer deref (#2339)
This commit is contained in:
1 parent
38aef77e54
commit
caad5c613d
1 file changed
+1
-1
+1
-1
@@ -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