tbo0 Posted May 16, 2017 Report Share Posted May 16, 2017 (edited) 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 Edited May 16, 2017 by tbo0 Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 16, 2017 Report Share Posted May 16, 2017 You're most likely trying to reuse a code. You can't do that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.