enable open registration.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2025-01-16 11:20:44 -07:00
parent ababa6bf27
commit 7b63366627
6 changed files with 72 additions and 3 deletions

View File

@@ -67,4 +67,18 @@ function remoteLogin() {
window.location.href = data;
}
})
}
function sendRegistrationToken() {
var userEmail = $("#inputEmail").val();
if (userEmail.trim() == '') {
errorToast("No Email Address Provided");
return;
}
$.post('/Login/SendRegistrationToken', { emailAddress: userEmail }, function (data) {
if (data.success) {
successToast(data.message);
} else {
errorToast(data.message);
}
});
}