From d435192e22cc6425f50ebe32b0f58bc987ae31d9 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 1 Mar 2017 16:33:55 +0000 Subject: [PATCH] Remove unnecesary check --- src/interactive-auth.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/interactive-auth.js b/src/interactive-auth.js index 79189c422..2576bda24 100644 --- a/src/interactive-auth.js +++ b/src/interactive-auth.js @@ -265,10 +265,6 @@ InteractiveAuth.prototype = { if (!nextStage) { throw new Error("No incomplete flows from the server"); } - if (nextStage == this._currentStage) { - // we've already started: don't re-start it - return; - } this._currentStage = nextStage; if (this._data.errcode || this._data.error) {