Skip to content

Commit b5aa685

Browse files
Kashkovskyp2
authored andcommitted
Fix an issue with decisionHandler called twice (#235)
1 parent d79ffdb commit b5aa685

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/macOS/OAuth2WebViewController.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,8 @@ public class OAuth2WebViewController: NSViewController, WKNavigationDelegate, NS
243243
else {
244244
decisionHandler(.allow)
245245
}
246+
247+
return
246248
}
247249
}
248250

0 commit comments

Comments
 (0)