mirror of
https://github.com/bitwarden/mobile
synced 2025-01-19 12:30:10 +01:00
Hide Master Pass On Restart for Key Connector (#1650)
This commit is contained in:
parent
3e0e620bb7
commit
1c006d6218
@ -319,9 +319,13 @@ namespace Bit.App.Pages
|
|||||||
AppResources.SetPINDescription, null, AppResources.Submit, AppResources.Cancel, true);
|
AppResources.SetPINDescription, null, AppResources.Submit, AppResources.Cancel, true);
|
||||||
if (!string.IsNullOrWhiteSpace(pin))
|
if (!string.IsNullOrWhiteSpace(pin))
|
||||||
{
|
{
|
||||||
var masterPassOnRestart = await _platformUtilsService.ShowDialogAsync(
|
var masterPassOnRestart = false;
|
||||||
|
if (!await _keyConnectorService.GetUsesKeyConnector())
|
||||||
|
{
|
||||||
|
masterPassOnRestart = await _platformUtilsService.ShowDialogAsync(
|
||||||
AppResources.PINRequireMasterPasswordRestart, AppResources.UnlockWithPIN,
|
AppResources.PINRequireMasterPasswordRestart, AppResources.UnlockWithPIN,
|
||||||
AppResources.Yes, AppResources.No);
|
AppResources.Yes, AppResources.No);
|
||||||
|
}
|
||||||
|
|
||||||
var kdf = await _userService.GetKdfAsync();
|
var kdf = await _userService.GetKdfAsync();
|
||||||
var kdfIterations = await _userService.GetKdfIterationsAsync();
|
var kdfIterations = await _userService.GetKdfIterationsAsync();
|
||||||
|
Loading…
Reference in New Issue
Block a user