8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eba874b commit 33d165dCopy full SHA for 33d165d
pymysql/connections.py
@@ -920,10 +920,7 @@ def _request_authentication(self):
920
):
921
auth_packet = self._process_auth(plugin_name, auth_packet)
922
else:
923
- # send legacy handshake
924
- data = _auth.scramble_old_password(self.password, self.salt) + b"\0"
925
- self.write_packet(data)
926
- auth_packet = self._read_packet()
+ raise err.OperationalError("received unknown auth swich request")
927
elif auth_packet.is_extra_auth_data():
928
if DEBUG:
929
print("received extra data")
0 commit comments