1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-26 09:54:35 +01:00

remove any spaces from authenticator code input

This commit is contained in:
Kyle Spearrin 2016-11-26 18:52:36 -05:00
parent 9bf2c4f54c
commit fc3a3fbbbb

View File

@ -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) {