Tracking PR for registration rewrite #5

Merged
Muirrum merged 32 commits from rewrite into master 2022-12-15 18:32:08 -05:00
Showing only changes of commit 12ce7cbb50 - Show all commits

View file

@ -77,7 +77,7 @@
]; ];
if((rec != "all" && window.confirm("Send test email?")) || (rec == "all" && window.confirm("Send email to {{NUM_HACKERS}} recipients?"))) { if((rec != "all" && window.confirm("Send test email?")) || (rec == "all" && window.confirm("Send email to {{NUM_HACKERS}} recipients?"))) {
fetch('/send', {method: 'POST', body: JSON.stringify(body), headers: headers}).then(async (res) => { fetch('/admin/send', {method: 'POST', body: JSON.stringify(body), headers: headers}).then(async (res) => {
window.alert(await res.text()); window.alert(await res.text());
}).catch((err) => { }).catch((err) => {
window.alert("Error sending message - see console for details"); window.alert("Error sending message - see console for details");