(self, user='', passwd='', acct='', secure=True)
| 741 | timeout, source_address, encoding=encoding) |
| 742 | |
| 743 | def login(self, user='', passwd='', acct='', secure=True): |
| 744 | if secure and not isinstance(self.sock, ssl.SSLSocket): |
| 745 | self.auth() |
| 746 | return super().login(user, passwd, acct) |
| 747 | |
| 748 | def auth(self): |
| 749 | '''Set up secure control connection by using TLS/SSL.''' |