mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
fix for export password handling (#1448)
This commit is contained in:
@@ -103,10 +103,9 @@ namespace Bit.App.Pages
|
||||
return;
|
||||
}
|
||||
|
||||
MasterPassword = string.Empty;
|
||||
|
||||
var passwordValid = await _cryptoService.CompareAndUpdateKeyHashAsync(_masterPassword, null);
|
||||
if (passwordValid)
|
||||
MasterPassword = string.Empty;
|
||||
if (!passwordValid)
|
||||
{
|
||||
await _platformUtilsService.ShowDialogAsync(_i18nService.T("InvalidMasterPassword"));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user