HromaCool Posted August 22, 2017 Report 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
Axle Posted August 22, 2017 Report Posted August 22, 2017 https://github.com/DoctorMcKay/node-steamcommunity https://github.com/DoctorMcKay/node-steamcommunity/blob/master/examples/enable_twofactor.js Quote
HromaCool Posted August 22, 2017 Author Report 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
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.