OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541)
(cherry picked from commit 151fe240fc)
This commit is contained in:
@@ -216,8 +216,8 @@ func UpdateAuthInfo(cmd *m.UpdateAuthInfoCommand) error {
|
||||
UserId: cmd.UserId,
|
||||
AuthModule: cmd.AuthModule,
|
||||
}
|
||||
|
||||
_, err := sess.Update(authUser, cond)
|
||||
upd, err := sess.Update(authUser, cond)
|
||||
sqlog.Debug("Updated user_auth", "user_id", cmd.UserId, "auth_module", cmd.AuthModule, "rows", upd)
|
||||
return err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user