add user uuid to context
This commit is contained in:
parent
efecc9d8a7
commit
13f93cd03e
1 changed files with 1 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ func authMW(up user.Provider, auth authCheck.AuthChecker, serviceId int32) gin.H
|
|||
}
|
||||
|
||||
c.Set("userId", userId)
|
||||
c.Set("userUuid", userUuid)
|
||||
c.Next()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue