1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-08-08 22:46:33 +02:00

Fix typos in doc strings.

This commit is contained in:
Paul Groudas
2019-12-20 09:44:59 -05:00
parent 7663565cd3
commit 90f8117fba
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ func MakeCookie(req *http.Request, name string, value string, path string, domai
}
}
// MakeCookieFromOptions constructs a cookie based on the givemn *options.CookieOptions,
// MakeCookieFromOptions constructs a cookie based on the given *options.CookieOptions,
// value and creation time
func MakeCookieFromOptions(req *http.Request, name string, value string, opts *options.CookieOptions, expiration time.Duration, now time.Time) *http.Cookie {
return MakeCookie(req, name, value, opts.CookiePath, opts.CookieDomain, opts.CookieHTTPOnly, opts.CookieSecure, expiration, now)