fixed a couple of typos
This commit is contained in:
parent
92f8c105d9
commit
651b0c0f82
2 changed files with 2 additions and 2 deletions
|
@ -203,7 +203,7 @@ class ClientRequest extends EventEmitter {
|
|||
|
||||
urlRequest.on('login', (event, authInfo, callback) => {
|
||||
this.emit('login', authInfo, (username, password) => {
|
||||
// If null or undefined usrename/password, force to empty string.
|
||||
// If null or undefined username/password, force to empty string.
|
||||
if (username === null || username === undefined) {
|
||||
username = ''
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue