Skip to content

Commit

Permalink
mansar.io
Browse files Browse the repository at this point in the history
  • Loading branch information
MuneebAnsari committed Apr 4, 2024
1 parent 93b315c commit c77bf5d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions verifyemail/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h1>Verification Email Sent</h1>
</p>
</div>
</body>
<script>
<!-- <script>
function logout() {
var xhr = new XMLHttpRequest();
xhr.open(
Expand All @@ -102,14 +102,16 @@ <h1>Verification Email Sent</h1>
);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
console.log("redirect");
window.location.href =
"com.etr407.ciam.androidharness://login.mansar.io/logout";
}
};
console.log(xhr);
xhr.send();
}
</script>
<!-- <script>
</script> -->
<script>
function logout() {
var iframe = document.createElement("iframe");
iframe.style.display = "none";
Expand All @@ -120,5 +122,5 @@ <h1>Verification Email Sent</h1>
window.location.href =
"com.etr407.ciam.androidharness://login.mansar.io/logout";
}
</script> -->
</script>
</html>

0 comments on commit c77bf5d

Please sign in to comment.