From 3d8b59ef716756370df2903266d81e80c7e708a3 Mon Sep 17 00:00:00 2001 From: Pierce Lopez Date: Sat, 5 Aug 2017 12:54:31 -0400 Subject: [PATCH] options: wrap missing-email-validation error message --- options.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/options.go b/options.go index e6c6c4e..ac0a806 100644 --- a/options.go +++ b/options.go @@ -134,7 +134,8 @@ func (o *Options) Validate() error { msgs = append(msgs, "missing setting: client-secret") } if o.AuthenticatedEmailsFile == "" && len(o.EmailDomains) == 0 && o.HtpasswdFile == "" { - msgs = append(msgs, "missing setting for email validation: email-domain or authenticated-emails-file required.\n use email-domain=* to authorize all email addresses") + msgs = append(msgs, "missing setting for email validation: email-domain or authenticated-emails-file required."+ + "\n use email-domain=* to authorize all email addresses") } o.redirectURL, msgs = parseURL(o.RedirectURL, "redirect", msgs)