Skip to content

Commit

Permalink
added support for email password login
Browse files Browse the repository at this point in the history
  • Loading branch information
diezo committed Jan 23, 2024
1 parent cf84775 commit e0598b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ host = Host(username, password, proxy={"http": "http://1.2.3.4", "https": "https
```python
from ensta import Host

host = Host(username, password)
host = Host(username, password) # Email can also be used
```

</details>
Expand All @@ -58,7 +58,7 @@ from ensta import Host
key = "R65I7XTTHNHTQ2NKMQL36NCWKNUPBSDG"

host = Host(
username,
username, # or email
password,
totp_token=key
)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from distutils.core import setup
from pathlib import Path

version = "5.0.7"
version = "5.0.8"
long_description = (Path(__file__).parent / "README.md").read_text(encoding="utf-8")

setup(
Expand Down

0 comments on commit e0598b7

Please sign in to comment.