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