1
0
Fork 0
forked from ilot/ilot-io

content/join: clean-up messages

This commit is contained in:
Antoine Martin 2024-06-15 14:15:04 -04:00
parent 64aefaec0c
commit 535cd026b0
Signed by: ayakael
GPG key ID: D62A472A4AA7D541

View file

@ -36,12 +36,12 @@
} }
if(mathspamtrap != "9") { if(mathspamtrap != "9") {
alert("Wrong answer") alert("Wrong math answer")
return false; return false;
} }
if(await checkDuplicate(email) === true) { if(await checkDuplicate(email) === true) {
alert("Email address already requested account") alert("This email address has already requested an account")
return false; return false;
} }
@ -69,6 +69,7 @@
.then(response => response.json()) .then(response => response.json())
.then(result => { .then(result => {
console.log('Success:', result); console.log('Success:', result);
alaert("Request submitted. A working group member will process your registration shortly. If you receive no contact within seven days of registration, please send an email to support@ilot.io");
}) })
.catch(error => { .catch(error => {
console.error('Error:', error) console.error('Error:', error)
@ -119,9 +120,6 @@
<input id="math-spam-trap" name="math-spam-trap" type="text" required maxlength="50"></p> <input id="math-spam-trap" name="math-spam-trap" type="text" required maxlength="50"></p>
<input type="button" value="Submit" id = "submit" <input type="button" value="Submit" id = "submit"
onClick = "createIssue()"> onClick = "createIssue()">
<input type="button" value="Check duplicate" id = "submit"
onClick = "checkDuplicate()">
</form> </form>
</div> </div>