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
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
}; };
_service.logInTwoFactor = function (code) { _service.logInTwoFactor = function (code) {
var request = new TokenTwoFactorRequest(code); var request = new TokenTwoFactorRequest(code.replace(' ', ''));
var deferred = $q.defer(); var deferred = $q.defer();
apiService.postTokenTwoFactor(request, function (response) { apiService.postTokenTwoFactor(request, function (response) {