diff --git a/src/popup/app/accounts/accountsLoginTwoFactorController.js b/src/popup/app/accounts/accountsLoginTwoFactorController.js index d958d1bfa4..54b8f90ea8 100644 --- a/src/popup/app/accounts/accountsLoginTwoFactorController.js +++ b/src/popup/app/accounts/accountsLoginTwoFactorController.js @@ -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;