Skip to content

Commit

Permalink
Merge pull request #94 from keegandahm/keegandahm/use-getpass
Browse files Browse the repository at this point in the history
  • Loading branch information
hammem authored Mar 7, 2024
2 parents 651ae4b + 6031f46 commit 2e93b6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monarchmoney/monarchmoney.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import asyncio
import calendar
import getpass
import json
import os
import pickle
Expand Down Expand Up @@ -88,7 +89,7 @@ async def interactive_login(
) -> None:
"""Performs an interactive login for iPython and similar environments."""
email = input("Email: ")
passwd = input("Password: ")
passwd = getpass.getpass("Password: ")
try:
await self.login(email, passwd, use_saved_session, save_session)
except RequireMFAException:
Expand Down

0 comments on commit 2e93b6c

Please sign in to comment.