mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #1806 from wabbajack-tools/fix-steam-2fa
Fix steam 2FA
This commit is contained in:
commit
55aa6233a3
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
VERSION: 3.0.0.0-beta4
|
VERSION: 3.0.0.0-beta5
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -130,6 +130,8 @@ public class Client : IDisposable
|
|||||||
int fileSize;
|
int fileSize;
|
||||||
byte[] sentryHash;
|
byte[] sentryHash;
|
||||||
|
|
||||||
|
_logger.LogInformation("Got Steam machine auth info");
|
||||||
|
|
||||||
var token = await _token.Get();
|
var token = await _token.Get();
|
||||||
|
|
||||||
var ms = new MemoryStream();
|
var ms = new MemoryStream();
|
||||||
@ -238,7 +240,6 @@ public class Client : IDisposable
|
|||||||
_haveSigFile = false;
|
_haveSigFile = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
_isConnected = true;
|
_isConnected = true;
|
||||||
|
|
||||||
_steamUser.LogOn(new SteamUser.LogOnDetails
|
_steamUser.LogOn(new SteamUser.LogOnDetails
|
||||||
@ -250,6 +251,10 @@ public class Client : IDisposable
|
|||||||
SentryFileHash = sentryHash,
|
SentryFileHash = sentryHash,
|
||||||
RequestSteam2Ticket = true
|
RequestSteam2Ticket = true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Reset the codes so we don't use them again
|
||||||
|
_authCode = null;
|
||||||
|
_twoFactorCode = null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user