mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-28 03:57:43 +02:00
fix a11y issue with hCaptcha on iOS (#1896)
This commit is contained in:
parent
c251b950d1
commit
b081a8c634
@ -37,11 +37,14 @@ namespace Bit.App.Pages
|
|||||||
bool cancelled = false;
|
bool cancelled = false;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
// PrefersEphemeralWebBrowserSession should be false to allow access to the hCaptcha accessibility
|
||||||
|
// cookie set in the default browser
|
||||||
|
// https://www.hcaptcha.com/accessibility
|
||||||
var options = new WebAuthenticatorOptions
|
var options = new WebAuthenticatorOptions
|
||||||
{
|
{
|
||||||
Url = new Uri(url),
|
Url = new Uri(url),
|
||||||
CallbackUrl = new Uri(callbackUri),
|
CallbackUrl = new Uri(callbackUri),
|
||||||
PrefersEphemeralWebBrowserSession = true,
|
PrefersEphemeralWebBrowserSession = false,
|
||||||
};
|
};
|
||||||
authResult = await WebAuthenticator.AuthenticateAsync(options);
|
authResult = await WebAuthenticator.AuthenticateAsync(options);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user