Other: Fix all linter errors

This commit is contained in:
Leander Beernaert
2022-10-18 13:54:12 +02:00
committed by James Houlahan
parent b36972ce71
commit 7c62312220
45 changed files with 206 additions and 176 deletions

View File

@ -70,14 +70,19 @@ func (f *frontendCLI) showAccountInfo(c *ishell.Context) {
}
func (f *frontendCLI) showAccountAddressInfo(user bridge.UserInfo, address string) {
imapSecurity := "STARTTLS"
const (
StartTLS = "STARTTLS"
SSL = "SSL"
)
imapSecurity := StartTLS
if f.bridge.GetIMAPSSL() {
imapSecurity = "SSL"
imapSecurity = SSL
}
smtpSecurity := "STARTTLS"
smtpSecurity := StartTLS
if f.bridge.GetSMTPSSL() {
smtpSecurity = "SSL"
smtpSecurity = SSL
}
f.Println(bold("Configuration for " + address))