Jump to content
McKay Development

Recommended Posts

Posted (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 by tbo0

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...