mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 04:10:20 +08:00
Use util.GetId()
This commit is contained in:
@ -233,7 +233,7 @@ func generateJwtToken(application *Application, user *User, nonce string, scope
|
||||
_, originBackend := getOriginFromHost(host)
|
||||
|
||||
name := util.GenerateId()
|
||||
jti := fmt.Sprintf("%s/%s", application.Owner, name)
|
||||
jti := util.GetId(application.Owner, name)
|
||||
|
||||
claims := Claims{
|
||||
User: user,
|
||||
|
Reference in New Issue
Block a user