mirror of
https://github.com/bitwarden/web
synced 2025-12-10 05:13:40 +00:00
back to enum ints for 2fa providers
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user