diff --git a/src/popup/app/services/loginService.js b/src/popup/app/services/loginService.js index 537f24fc12..d275cbee34 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) {