mirror of
https://github.com/bitwarden/android.git
synced 2024-12-27 11:28:28 +03:00
PM-3349 PM-3350 Fixed issue where creating an account with weak/exposed password would get stuck after the Captcha (if a captcha is shown)
Changed App.xaml.cs NavigateImpl to be private
This commit is contained in:
parent
06a0195a6d
commit
62254aef8d
2 changed files with 4 additions and 2 deletions
|
@ -530,7 +530,7 @@ namespace Bit.App
|
|||
NavigateImpl(navTarget, navParams);
|
||||
}
|
||||
|
||||
public void NavigateImpl(NavigationTarget navTarget, INavigationParams navParams)
|
||||
private void NavigateImpl(NavigationTarget navTarget, INavigationParams navParams)
|
||||
{
|
||||
switch (navTarget)
|
||||
{
|
||||
|
|
|
@ -165,7 +165,9 @@ namespace Bit.App.Pages
|
|||
AppResources.AnErrorHasOccurred, AppResources.Ok);
|
||||
return;
|
||||
}
|
||||
if (await IsPasswordWeakOrExposed())
|
||||
|
||||
//We only test weak/exposed password when "showLoading" is true otherwise it would be called twice in scenarios this method is called again after a Captcha
|
||||
if (showLoading && await IsPasswordWeakOrExposed())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue