back to enum ints for 2fa providers

This commit is contained in:
Kyle Spearrin 2017-01-28 17:27:37 -05:00
parent 52460bf47b
commit f3b4cdca8a
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ angular
$scope.twoFactor = function (model) { $scope.twoFactor = function (model) {
// Only supporting Authenticator (0) provider for now // Only supporting Authenticator (0) provider for now
$scope.twoFactorPromise = authService.logIn(email, masterPassword, model.code, 'Authenticator'); $scope.twoFactorPromise = authService.logIn(email, masterPassword, model.code, 0);
$scope.twoFactorPromise.then(function () { $scope.twoFactorPromise.then(function () {
$analytics.eventTrack('Logged In From Two-step'); $analytics.eventTrack('Logged In From Two-step');