aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to '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 857dc1b..0de77a9 100644
--- a/html/mail.html
+++ b/html/mail.html
@@ -314,7 +314,7 @@
let html = false
function reg() {
console.log(document.getElementById('email').value)
- sendenc('/reg', { 'address': document.getElementById('email').value, 'host': document.getElementById('host').value, 'port': document.getElementById('port').value, 'creds': document.getElementById('auth').value }).then(() => {
+ 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(() => {
update()
})
}