This commit is contained in:
Kyle Spearrin 2017-06-27 17:11:15 -04:00
parent 666cb3198e
commit 5bb3b87bb4
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@
return; return;
} }
$scope.providerType = $stateParams.provider ? $stateParams.provider : getDefaultProvider(providers); $scope.providerType = $stateParams.provider || $stateParams.provider === 0 ? $stateParams.provider :
getDefaultProvider(providers);
$scope.twoFactorEmail = null; $scope.twoFactorEmail = null;
$scope.token = null; $scope.token = null;
$scope.constantsProvider = constants.twoFactorProvider; $scope.constantsProvider = constants.twoFactorProvider;