Browse Source

Merge pull request #2489 from joelittlejohn/patch-1

Avoid using Facebook garbage fragment to complete login
bubble
Tony Tam 7 years ago
committed by GitHub
parent
commit
0dfc59fc21
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/html/o2c.html

+ 2
- 2
src/main/html/o2c.html View File

@@ -1,6 +1,6 @@
<script>
var qp = null;
if(window.location.hash) {
if(window.location.hash && window.location.hash !== "#_=_") {
qp = location.hash.substring(1);
}
else {
@@ -17,4 +17,4 @@ else
window.opener.onOAuthComplete(qp);

window.close();
</script>
</script>

Loading…
Cancel
Save