mirror of
https://github.com/1f349/tulip.git
synced 2024-12-23 00:34:07 +00:00
Rollback database with no new data
This commit is contained in:
parent
b1dc2d106a
commit
37b5fcb1a5
@ -39,6 +39,7 @@ func generateIDToken(ti oauth2.TokenInfo, us *database.DB, key mjwt.Signer) (tok
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
tx.Rollback()
|
||||
|
||||
token, err = key.GenerateJwt(user.Sub, "", jwt.ClaimStrings{ti.GetClientID()}, ti.GetAccessExpiresIn(), IdTokenClaims{})
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user