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 081c0a7 commit 93b315c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion verifyemail/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,23 @@ <h1>Verification Email Sent</h1>
</div>
</body>
<script>
function logout() {
var xhr = new XMLHttpRequest();
xhr.open(
"GET",
"https://login.mansar.io/v2/logout?auth0Client=eyJuYW1lIjoiQXV0aDAuQW5kcm9pZCIsImVudiI6eyJhbmRyb2lkIjoiMzQifSwidmVyc2lvbiI6IjIuMTAuMiJ9",
true
);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
window.location.href =
"com.etr407.ciam.androidharness://login.mansar.io/logout";
}
};
xhr.send();
}
</script>
<!-- <script>
function logout() {
var iframe = document.createElement("iframe");
iframe.style.display = "none";
Expand All @@ -103,5 +120,5 @@ <h1>Verification Email Sent</h1>
window.location.href =
"com.etr407.ciam.androidharness://login.mansar.io/logout";
}
</script>
</script> -->
</html>

0 comments on commit 93b315c

Please sign in to comment.