mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
fix for export password handling (#1448)
This commit is contained in:
parent
4f9985d2b0
commit
382e547f74
1 changed files with 2 additions and 3 deletions
|
@ -103,10 +103,9 @@ namespace Bit.App.Pages
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
MasterPassword = string.Empty;
|
|
||||||
|
|
||||||
var passwordValid = await _cryptoService.CompareAndUpdateKeyHashAsync(_masterPassword, null);
|
var passwordValid = await _cryptoService.CompareAndUpdateKeyHashAsync(_masterPassword, null);
|
||||||
if (passwordValid)
|
MasterPassword = string.Empty;
|
||||||
|
if (!passwordValid)
|
||||||
{
|
{
|
||||||
await _platformUtilsService.ShowDialogAsync(_i18nService.T("InvalidMasterPassword"));
|
await _platformUtilsService.ShowDialogAsync(_i18nService.T("InvalidMasterPassword"));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue