1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01:00
This commit is contained in:
Kyle Spearrin 2017-06-27 17:11:15 -04:00
parent 666cb3198e
commit 5bb3b87bb4

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;