forked from Silverfish/proton-bridge
Other: Fix all linter errors
This commit is contained in:
committed by
James Houlahan
parent
b36972ce71
commit
7c62312220
@ -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))
|
||||
|
||||
Reference in New Issue
Block a user