1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 19:02:42 +01:00

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

View File

@ -47,7 +47,7 @@ angular
$scope.twoFactor = function (model) {
// 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 () {
$analytics.eventTrack('Logged In From Two-step');