Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions garminconnect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,6 @@ def login(self, /, tokenstore: str | None = None) -> tuple[str | None, str | Non
"Username and password are required"
)

# Validate email format when actually used for login
if not self.is_cn and self.username and "@" not in self.username:
raise GarminConnectAuthenticationError(
"Email must contain '@' symbol"
)

if self.return_on_mfa:
token1, token2 = self.garth.login(
self.username,
Expand Down