1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-07 16:17:23 +01:00

Actual implementation of the Relay setup daemon

This commit is contained in:
David Duque
2020-04-16 22:16:02 +01:00
parent d9397a026b
commit 430f6dab38
3 changed files with 27 additions and 8 deletions

View File

@@ -129,6 +129,11 @@
show_modal_error("Done!", "The configuration has been updated and Postfix was restarted successfully. Please make sure everything is functioning as intended.", () => {
return false
})
},
(text, xhr) => {
if (xhr.status != 403) {
show_modal_error("Error", `<h5>${xhr}</h5><br><pre>${text}</pre><br>Welp, oof`)
}
}
)
}