OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541)

This commit is contained in:
Maxim Ivanov
2019-06-12 12:47:38 +01:00
committed by Carl Bergquist
parent 599514ad68
commit 151fe240fc
2 changed files with 3 additions and 3 deletions

View File

@ -241,8 +241,8 @@ func UpdateAuthInfo(cmd *models.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
})
}