From fc3a3fbbbbd583fe09a41ff6fd00b7a0a451cb04 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 26 Nov 2016 18:52:36 -0500 Subject: [PATCH] remove any spaces from authenticator code input --- src/popup/app/services/loginService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup/app/services/loginService.js b/src/popup/app/services/loginService.js index 537f24fc..d275cbee 100644 --- a/src/popup/app/services/loginService.js +++ b/src/popup/app/services/loginService.js @@ -42,7 +42,7 @@ }; _service.logInTwoFactor = function (code) { - var request = new TokenTwoFactorRequest(code); + var request = new TokenTwoFactorRequest(code.replace(' ', '')); var deferred = $q.defer(); apiService.postTokenTwoFactor(request, function (response) {