HromaCool Posted August 22, 2017 Report Share Posted August 22, 2017 How can i add phone number and link 2fa with one sms? Why in c# library i can and in node js no? Quote Link to comment Share on other sites More sharing options...
Axle Posted August 22, 2017 Report Share Posted August 22, 2017 https://github.com/DoctorMcKay/node-steamcommunity https://github.com/DoctorMcKay/node-steamcommunity/blob/master/examples/enable_twofactor.js Quote Link to comment Share on other sites More sharing options...
HromaCool Posted August 22, 2017 Author Report Share Posted August 22, 2017 https://github.com/DoctorMcKay/node-steamcommunity https://github.com/DoctorMcKay/node-steamcommunity/blob/master/examples/enable_twofactor.js console.log("Logged on!"); community.enableTwoFactor(function(err, response) { if(err) { if(err.eresult == 2) { console.log("Error: Failed to enable two-factor authentication. Do you have a phone number attached to your account?"); process.exit(); return; } 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.