feat(cicd): added redis

This commit is contained in:
nihonium 2025-12-06 05:24:29 +03:00
parent 54c45ac3bc
commit 6955216568
Signed by: nihonium
GPG key ID: 0251623741027CFC
2 changed files with 22 additions and 4 deletions

View file

@ -199,6 +199,7 @@ func (s Server) GetImpersonationToken(ctx context.Context, req auth.GetImpersona
}
if req.Body.UserId != nil {
// TODO: check user existence
if user_id != "" && user_id != fmt.Sprintf("%d", *req.Body.UserId) {
log.Error("user_id and external_d are incorrect")
// TODO: 405