feat(cicd): added redis
This commit is contained in:
parent
54c45ac3bc
commit
6955216568
2 changed files with 22 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue