mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 15:53:44 +00: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:
@@ -530,7 +530,7 @@ namespace Bit.App
|
|||||||
NavigateImpl(navTarget, navParams);
|
NavigateImpl(navTarget, navParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void NavigateImpl(NavigationTarget navTarget, INavigationParams navParams)
|
private void NavigateImpl(NavigationTarget navTarget, INavigationParams navParams)
|
||||||
{
|
{
|
||||||
switch (navTarget)
|
switch (navTarget)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -165,7 +165,9 @@ namespace Bit.App.Pages
|
|||||||
AppResources.AnErrorHasOccurred, AppResources.Ok);
|
AppResources.AnErrorHasOccurred, AppResources.Ok);
|
||||||
return;
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user