enable open registration.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user