aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/account-wizard.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/account-wizard.go b/widgets/account-wizard.go
index c76a67e7..6e54fe48 100644
--- a/widgets/account-wizard.go
+++ b/widgets/account-wizard.go
@@ -487,7 +487,7 @@ func (wizard *AccountWizard) finish(tutorial bool) {
errors.New("IMAP server is required"))
return
}
- if wizard.imapServer.String() == "" {
+ if wizard.smtpServer.String() == "" {
wizard.errorFor(wizard.smtpServer,
errors.New("SMTP server is required"))
return