1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 21:33:36 +00:00

Passwordless login 2FA not working (#2289)

* [SG-174] Fix 2FA passwordless login

* [SG-982] Enable login with device
This commit is contained in:
André Bispo
2023-01-16 18:25:44 +00:00
committed by GitHub
parent 2b8547878a
commit f15fd246a8
2 changed files with 7 additions and 5 deletions

View File

@@ -149,8 +149,7 @@ namespace Bit.App.Pages
Email = await _stateService.GetRememberedEmailAsync();
}
var deviceIdentifier = await _appIdService.GetAppIdAsync();
// TODO uncomment to enable login with device
//IsKnownDevice = await _apiService.GetKnownDeviceAsync(Email, deviceIdentifier);
IsKnownDevice = await _apiService.GetKnownDeviceAsync(Email, deviceIdentifier);
CanRemoveAccount = await _stateService.GetActiveUserEmailAsync() != Email;
await _deviceActionService.HideLoadingAsync();
}