back to enum ints for 2fa providers
This commit is contained in:
parent
52460bf47b
commit
f3b4cdca8a
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue