Skip to content

Commit f89a632

Browse files
author
Chris Raynor
committed
preventing override from causing loop when incorrect
1 parent df9addd commit f89a632

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/auth.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ var auth = {
6363
if (tries > 0) {
6464
if (tries !== this.maxRetries) {
6565
console.log('Email or password incorrect, please try again');
66+
delete prompt.override.email;
67+
delete prompt.override.password;
6668
}
6769
this._loginRequest(function(err, email, token) {
6870
if (err) {

0 commit comments

Comments
 (0)