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
1 changed files with 1 additions and 2 deletions

View File

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