aboutsummaryrefslogtreecommitdiff
path: root/html/mail.html
diff options
context:
space:
mode:
authorgrant-kun <[email protected]>2022-11-01 13:10:27 -0500
committergrant-kun <[email protected]>2022-11-01 13:10:27 -0500
commitf41da4f7031a0719c2ba87c2fcd0e34d24027c47 (patch)
treef5a8d630dd6f3b54c1cea933ecf6526c21ce161f /html/mail.html
parentb79f3023b3c604a682ff1e3e385c4a40f6f1d978 (diff)
broken, fixes soon
Diffstat (limited to 'html/mail.html')
-rw-r--r--html/mail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/mail.html b/html/mail.html
index 77a2220..49f44be 100644
--- a/html/mail.html
+++ b/html/mail.html
@@ -321,7 +321,7 @@
let html = false
function reg() {
console.log(document.getElementById('email').value)
- sendenc('/reg', { 'user': 'root', 'address': document.getElementById('email').value, 'host': document.getElementById('host').value, 'port': document.getElementById('port').value, 'creds': document.getElementById('auth').value }).then(() => {
+ sendenc('/reg', { 'user': getCookie('user'), 'address': document.getElementById('email').value, 'host': document.getElementById('host').value, 'port': document.getElementById('port').value, 'creds': document.getElementById('auth').value }).then(() => {
update()
})
}