mirror of
https://github.com/openziti/zrok.git
synced 2025-06-30 14:30:30 +02:00
This commit is contained in:
@ -59,7 +59,7 @@ func (h *unaccessHandler) Handle(params service.UnaccessParams, principal *rest_
|
||||
return service.NewUnaccessInternalServerError()
|
||||
}
|
||||
|
||||
if sfe == nil || sfe.EnvironmentId != senv.Id {
|
||||
if sfe == nil || (sfe.EnvironmentId != nil && *sfe.EnvironmentId != senv.Id) {
|
||||
logrus.Errorf("frontend named '%v' not found", feToken)
|
||||
return service.NewUnaccessInternalServerError()
|
||||
}
|
||||
|
Reference in New Issue
Block a user