Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Optional 2FA code on first login #1136

Merged
merged 2 commits into from
Oct 7, 2018
Merged

Conversation

Noobgam
Copy link
Contributor

@Noobgam Noobgam commented Sep 17, 2018

This is kinda useful, especially when your bot is well-established, .auth files are there, bot always fails his first login attempt without this, if you spam this (e.g. restart bot or something), steam is going to temp-ban you for incorrect login attempts.

So far it worked fine for me, bot is able to login on his first attempt and I don't know when is it reasonable to login without 2FA when .auth files already exist

Perhaps adding it as an option to the configuration file is even better

@ghost
Copy link

ghost commented Oct 6, 2018

Just wanted to add to this. Maybe in the constructor have it check for a .mafile that matches the username and sets "useTwoFactorByDefault" to true? That way we should be able to skip having to set it to true when creating a new bot.

@BlueRaja BlueRaja merged commit 71aff73 into Jessecar96:master Oct 7, 2018
@Noobgam Noobgam deleted the 2FAByDefault branch October 14, 2018 09:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants