Fix typos

This commit is contained in:
Thom Seddon
2019-07-08 17:21:08 +01:00
parent 5a676f3068
commit a99330e6b2
4 changed files with 7 additions and 7 deletions

View File

@ -273,7 +273,7 @@ func cookieSignature(r *http.Request, email, expires string) string {
return base64.URLEncoding.EncodeToString(hash.Sum(nil))
}
// Get cookie expirary
// Get cookie expiry
func cookieExpiry() time.Time {
return time.Now().Local().Add(config.Lifetime)
}