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
2 changes: 1 addition & 1 deletion aiosmtpd/smtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ async def smtp_AUTH(self, arg: str) -> None:
await self.push('501 Too many values')
return

mechanism = args[0]
mechanism = args[0].upper()
if mechanism not in self._auth_methods:
await self.push('504 5.5.4 Unrecognized authentication type')
return
Expand Down
Loading