mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
EXPERIMENTAL: Move 2FA to multi-confirmations, closes #295
Some further tests would be cool to do
This commit is contained in:
@@ -367,17 +367,17 @@ namespace ArchiSteamFarm.JSON {
|
||||
Other
|
||||
}
|
||||
|
||||
private uint _ConfirmationID;
|
||||
internal uint ConfirmationID {
|
||||
get { return _ConfirmationID; }
|
||||
private MobileAuthenticator.Confirmation _Confirmation;
|
||||
internal MobileAuthenticator.Confirmation Confirmation {
|
||||
get { return _Confirmation; }
|
||||
|
||||
set {
|
||||
if (value == 0) {
|
||||
if (value == null) {
|
||||
Logging.LogNullError(nameof(value));
|
||||
return;
|
||||
}
|
||||
|
||||
_ConfirmationID = value;
|
||||
_Confirmation = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user