mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
back to enum ints for 2fa providers
This commit is contained in:
@@ -47,7 +47,7 @@ angular
|
|||||||
|
|
||||||
$scope.twoFactor = function (model) {
|
$scope.twoFactor = function (model) {
|
||||||
// Only supporting Authenticator (0) provider for now
|
// 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 () {
|
$scope.twoFactorPromise.then(function () {
|
||||||
$analytics.eventTrack('Logged In From Two-step');
|
$analytics.eventTrack('Logged In From Two-step');
|
||||||
|
|||||||
Reference in New Issue
Block a user