This commit is contained in:
aditya.siregar
2024-07-12 02:29:18 +07:00
parent 04a89c5508
commit 7ea809cc09
9 changed files with 60 additions and 5 deletions
+1
View File
@@ -69,6 +69,7 @@ func (c *CryptoImpl) GenerateJWT(user *entity.User) (string, error) {
Role: int(user.RoleID),
PartnerID: partnerID,
SiteID: siteID,
SiteName: user.SiteName,
}
token, err := jwt.