Skip to content

Commit

Permalink
mansar.io
Browse files Browse the repository at this point in the history
  • Loading branch information
MuneebAnsari committed Apr 17, 2024
1 parent 41d6fd6 commit 38bd7e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions verifyemail/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

<p>
Didn't get an email?
<a class="link" onclick="callback()">Resend</a>
<a class="link" onclick="loginCallback()">Resend</a>
</p>
<p>
<button class="button-link" onclick="signupCallback()">
Expand All @@ -95,7 +95,8 @@
const container = document.querySelector(".container");
const continueButton = document.createElement("button");
continueButton.textContent = "Continue";
continueButton.onclick = status === "true" ? callback : logoutCallback;
continueButton.onclick =
status === "true" ? loginCallback : logoutCallback;
const messageElement = document.createElement("p");
messageElement.textContent = message;

Expand Down Expand Up @@ -147,7 +148,7 @@
"com.etr407.ciam.androidharness://login.mansar.io/custom/signup";
}

function callback() {
function loginCallback() {
window.location.href =
"com.etr407.ciam.androidharness://login.mansar.io/custom/login";
}
Expand Down

0 comments on commit 38bd7e6

Please sign in to comment.