summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index bbca38e..1ecb901 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -275,9 +275,6 @@ class IMAP4:
(typ, [data]) = <instance>.list(user, password)
"""
- if not 'AUTH=LOGIN' in self.capabilities \
- and not 'AUTH-LOGIN' in self.capabilities:
- raise self.error("server doesn't allow LOGIN authorisation")
typ, dat = self._simple_command('LOGIN', user, password)
if typ != 'OK':
raise self.error(dat)