1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

Possible fix for blocked nav on some devices (#1181)

I have a device that is blocking navigation (per chrome dev tools) on the success callback for reasons unknown.  After comparing with the captcha connector (which works flawlessly), the only difference I can find is that captcha doesn't do anything else after `document.location.replace` for mobile.  I'm not sure if this is the culprit but it can't hurt to try.
This commit is contained in:
Matt Portune 2021-09-08 10:32:53 -04:00 committed by GitHub
parent 9269774aed
commit ded636ba0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,10 +156,9 @@ function success(assertedCredential: PublicKeyCredential) {
document.location.replace(callbackUri + '?data=' + encodeURIComponent(dataString));
} else {
parent.postMessage('success|' + dataString, parentUrl);
}
sentSuccess = true;
}
}
function info(message: string) {
if (callbackUri) {