From ca9227fc192ff5828a0866a4f69a652594262f26 Mon Sep 17 00:00:00 2001 From: Joe Bowers Date: Fri, 16 Oct 2015 16:10:16 -0700 Subject: [PATCH] various: spelling, logging, and commentary cleanup --- server/email_verification.go | 4 ++-- user/password.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/email_verification.go b/server/email_verification.go index 08356772..b2c14723 100644 --- a/server/email_verification.go +++ b/server/email_verification.go @@ -21,7 +21,7 @@ import ( // This handler is meant to be wrapped in clientTokenMiddleware, so a valid // bearer token for the client is expected to be present. // The user's JWT should be in the "token" parameter and the redirect URL should -// be in the "redirect_uri" param. Note that this re +// be in the "redirect_uri" param. func handleVerifyEmailResendFunc( issuerURL url.URL, srvKeysFunc func() ([]key.PublicKey, error), @@ -200,7 +200,7 @@ func handleEmailVerifyFunc(verifiedTpl *template.Template, issuer url.URL, keysF if err != nil { execTemplateWithStatus(w, verifiedTpl, emailVerifiedTemplateData{ Error: "There's been an error processing your request.", - Message: "Plesae try again later.", + Message: "Please try again later.", }, http.StatusInternalServerError) return } diff --git a/user/password.go b/user/password.go index a734d40e..067c59a0 100644 --- a/user/password.go +++ b/user/password.go @@ -286,7 +286,7 @@ func (e PasswordReset) Callback() *url.URL { cbURL, err := url.Parse(cb) if err != nil { - panic("EmailVerificaiton: can't parse callback. This should be impossible.") + panic("PasswordReset: can't parse callback. This should be impossible.") } return cbURL }