Skip to content

Commit

Permalink
fixed typo and added more MFA instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfernandes committed Jul 20, 2020
1 parent 33b54ac commit 15ae2cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ the resulting MFA code into the prompt on your robinhood app.
>>> print("Current OTP:", totp)

Once you have entered the above MFA code (the totp variable that is printed out) into your Robinhood account, it will give you a backup code.
Make sure you do not lose this code or you may be locked out of your account!!!
Make sure you do not lose this code or you may be locked out of your account!!! You can also take the exact same "My2factorAppHere" from above
and enter it into your phone's authentication app, such as Google Authenticator. This will cause the exact same MFA code to be generated on your phone
as well as your python code. This is important to do if you plan on being away from your computer and need to access your Robinhood account from your phone.

Now you should be able to login with the following code,

Expand Down
2 changes: 1 addition & 1 deletion robin_stocks/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def login(username=None, password=None, expiresIn=86400, scope='internal', by_sm
else:
os.remove(pickle_path)

# Try to log in normOally.
# Try to log in normally.
if not username:
username = input("Robinhood username: ")
payload['username'] = username
Expand Down

0 comments on commit 15ae2cc

Please # to comment.