mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 19:35:38 +00:00
Prevent using localhost on auxiliary IMAP accounts
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
vm.customFromIsReadonly = customFromIsReadonly;
|
||||
vm.cancel = cancel;
|
||||
vm.save = save;
|
||||
vm.hostnameRE = accountId > 0 ? /^(?!(127\.0\.0\.1|localhost(?:\.localdomain)?)$)/ : /./;
|
||||
|
||||
if (!vm.account.encryption)
|
||||
vm.account.encryption = "none";
|
||||
|
||||
Reference in New Issue
Block a user