mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-30 08:10:34 +01:00
Do not call parent if callback given (#1123)
This commit is contained in:
parent
b9b20bc36b
commit
919af717b9
@ -84,9 +84,10 @@ async function start() {
|
||||
}
|
||||
|
||||
function captchaSuccess(response: string) {
|
||||
success(response);
|
||||
if (callbackUri) {
|
||||
document.location.replace(callbackUri + '?token=' + encodeURIComponent(response));
|
||||
} else {
|
||||
success(response);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user