git.iko.soy/typeable/oauth2-proxy
on master help sign in
Update cookie-refresh doc string
commit2808ba7beb31e678b69b059dd528c9edb42194ed authorMike Bland <mbland@acm.org> dateMon 11 May 2015, 09:55 (11 years ago) parent37f287b
2 files changed+2−2
README.md+1−1 main.go+1−1
README.md+1−1
@@ -77,7 +77,7 @@ Usage of google_auth_proxy:
7777 -cookie-expire=168h0m0s: expire timeframe for cookie
7878 -cookie-httponly=true: set HttpOnly cookie flag
7979 -cookie-https-only=true: set secure (HTTPS) cookies (deprecated. use --cookie-secure setting)
80− -cookie-refresh=144h0m0s: refresh the cookie when this much time remains before expiration
80+ -cookie-refresh=0: refresh the cookie when less than this much time remains before expiration; 0 to disable
8181 -cookie-secret="": the seed string for secure cookies
8282 -cookie-secure=true: set secure (HTTPS) cookie flag
8383 -custom-templates-dir="": path to custom html templates
main.go+1−1
@@ -45,7 +45,7 @@ func main() {
4545 flagSet.String("cookie-secret", "", "the seed string for secure cookies")
4646 flagSet.String("cookie-domain", "", "an optional cookie domain to force cookies to (ie: .yourcompany.com)*")
4747 flagSet.Duration("cookie-expire", time.Duration(168)*time.Hour, "expire timeframe for cookie")
48− flagSet.Duration("cookie-refresh", time.Duration(0)*time.Hour, "refresh the cookie when this much time remains before expiration")
48+ flagSet.Duration("cookie-refresh", time.Duration(0)*time.Hour, "refresh the cookie when less than this much time remains before expiration; 0 to disable")
4949 flagSet.Bool("cookie-https-only", true, "set secure (HTTPS) cookies (deprecated. use --cookie-secure setting)")
5050 flagSet.Bool("cookie-secure", true, "set secure (HTTPS) cookie flag")
5151 flagSet.Bool("cookie-httponly", true, "set HttpOnly cookie flag")