(self, user='', passwd='', acct='', secure=True)
| 719 | timeout, source_address, encoding=encoding) |
| 720 | |
| 721 | def login(self, user='', passwd='', acct='', secure=True): |
| 722 | if secure and not isinstance(self.sock, ssl.SSLSocket): |
| 723 | self.auth() |
| 724 | return super().login(user, passwd, acct) |
| 725 | |
| 726 | def auth(self): |
| 727 | '''Set up secure control connection by using TLS/SSL.''' |