SMTP-palvelin aina näkyvissä + CuituNet → Cuitunet

- SMTP-palvelinkenttä näkyy nyt aina mailbox-lomakkeessa,
  myös kun "Käytä samoja tunnuksia" on päällä (vain käyttäjä
  ja salasana piiloutuvat)
- Korjattu CuituNet → Cuitunet kaikkialla (pieni n)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 23:28:31 +02:00
parent 0efd4c11ee
commit ff2613ff01
6 changed files with 97 additions and 6 deletions

View File

@@ -2582,7 +2582,7 @@ document.getElementById('btn-save-mailbox').addEventListener('click', async () =
imap_encryption: imapEnc,
smtp_from_email: document.getElementById('mailbox-form-smtp-email').value,
smtp_from_name: document.getElementById('mailbox-form-smtp-name').value,
smtp_host: useSame ? imapHost : document.getElementById('mailbox-form-smtp-host').value,
smtp_host: document.getElementById('mailbox-form-smtp-host').value || (useSame ? imapHost : ''),
smtp_port: parseInt(document.getElementById('mailbox-form-smtp-port').value) || 587,
smtp_user: useSame ? imapUser : document.getElementById('mailbox-form-smtp-user').value,
smtp_password: useSame ? imapPass : document.getElementById('mailbox-form-smtp-pass').value,