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:
parent
466f6b6b62
commit
fc5662947c
@ -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")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user