Hi, when Steam prompts me for a SteamGuard code and the steamGuard event is fired, It keeps on saying that the last provided code is wrong and the event is fired again and again. I set the 'promptSteamGuardCode' to false. Any idea why might this be? Your help is much appreciated.
client.on('steamGuard', function(domain, callback, lastCodeWrong) {
console.log("SteamGuardCode will be provided in 5 seconds!");
setTimeout(function() {
var twoFactorCode = SteamTotp.getAuthCode(logonOptions.twoFactorCode);
console.log(lastCodeWrong); // true
return callback(twoFactorCode);
}, 5000);
});
Regards, tbo