0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-12 19:53:12 +02:00

removed ws

This commit is contained in:
rmawatson 2026-02-15 17:17:21 +00:00
parent 466f6b6b62
commit fc5662947c

View File

@ -41,7 +41,6 @@ var withRunner = connect.WithInterceptors(connect.UnaryInterceptorFunc(func(unar
}
return nil, status.Error(codes.Internal, err.Error())
}
if subtle.ConstantTimeCompare([]byte(runner.TokenHash), []byte(auth_model.HashToken(token, runner.TokenSalt))) != 1 {
return nil, status.Error(codes.Unauthenticated, "unregistered runner")
}