1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-09-16 02:17:24 +02: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;
}
$scope.providerType = $stateParams.provider ? $stateParams.provider : getDefaultProvider(providers);
$scope.providerType = $stateParams.provider || $stateParams.provider === 0 ? $stateParams.provider :
getDefaultProvider(providers);
$scope.twoFactorEmail = null;
$scope.token = null;
$scope.constantsProvider = constants.twoFactorProvider;