File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ class ClientHandshake extends Command {
67
67
this . password3 = connection . config . password3 ;
68
68
this . passwordSha1 = connection . config . passwordSha1 ;
69
69
this . database = connection . config . database ;
70
- this . autPluginName = this . handshake . autPluginName ;
70
+ this . authPluginName = this . handshake . authPluginName ;
71
71
const handshakeResponse = new Packets . HandshakeResponse ( {
72
72
flags : this . clientFlags ,
73
73
user : this . user ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Handshake {
15
15
this . authPluginData2 = args . authPluginData2 ;
16
16
this . characterSet = args . characterSet ;
17
17
this . statusFlags = args . statusFlags ;
18
- this . autPluginName = args . autPluginName ;
18
+ this . authPluginName = args . authPluginName ;
19
19
}
20
20
21
21
setScrambleData ( cb ) {
@@ -102,7 +102,7 @@ class Handshake {
102
102
}
103
103
104
104
if ( args . capabilityFlags & ClientConstants . PLUGIN_AUTH ) {
105
- args . autPluginName = packet . readNullTerminatedString ( 'ascii' ) ;
105
+ args . authPluginName = packet . readNullTerminatedString ( 'ascii' ) ;
106
106
}
107
107
108
108
return new Handshake ( args ) ;
You can’t perform that action at this time.
0 commit comments