1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:22:55 +08:00
This commit is contained in:
Dean Herbert 2017-05-11 19:49:28 +09:00 committed by GitHub
parent 4e881644f6
commit c3d2cdd2f2

View File

@ -85,7 +85,7 @@ namespace osu.Game.Online.API
// we want to ensure only a single authentication update is happening at once. // we want to ensure only a single authentication update is happening at once.
lock (access_token_retrieval_lock) lock (access_token_retrieval_lock)
{ {
// re-check if valid, in case another requrest completed and revalidated our access. // re-check if valid, in case another request completed and revalidated our access.
if (accessTokenValid) return true; if (accessTokenValid) return true;
// if not, let's try using our refresh token to request a new access token. // if not, let's try using our refresh token to request a new access token.