add MFA, user web mail portal
This commit is contained in:
@@ -99,6 +99,9 @@ func newTestApp(t *testing.T) *App {
|
||||
imapSec, _ := cfg.NewSection("IMAP")
|
||||
imapSec.NewKey("imap_port", "1143")
|
||||
imapSec.NewKey("imap_tls_port", "1993")
|
||||
authSec, _ := cfg.NewSection("Auth")
|
||||
authSec.NewKey("enforce_admin_mfa", "false")
|
||||
authSec.NewKey("enforce_mailbox_mfa", "false")
|
||||
rspamdSec, _ := cfg.NewSection("Rspamd")
|
||||
rspamdSec.NewKey("enabled", "false")
|
||||
rspamdSec.NewKey("url", "http://127.0.0.1:11333")
|
||||
|
||||
Reference in New Issue
Block a user