mirror of
https://github.com/openziti/ziti.git
synced 2026-09-24 03:16:23 +00:00
Merge pull request #837 from openziti/fix-panic
Fix panic caused by missing return on error
This commit is contained in:
@@ -173,6 +173,7 @@ func (ro *AuthRouter) authHandler(ae *env.AppEnv, rc *response.RequestContext, h
|
||||
if err != nil {
|
||||
logger.WithField("cause", err).Error("loading session by id resulted in an error")
|
||||
rc.RespondWithApiError(errorz.NewUnauthorized())
|
||||
return
|
||||
}
|
||||
|
||||
ae.GetHandlers().PostureResponse.SetSdkInfo(identity.Id, sessionId, identity.SdkInfo)
|
||||
|
||||
Reference in New Issue
Block a user