1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-12-03 22:59:10 +02:00

Rename CookieOptions to Cookie

This commit is contained in:
Joel Speed
2020-05-25 12:43:24 +01:00
parent 285c65a2d4
commit 211fd3a010
13 changed files with 72 additions and 72 deletions

View File

@@ -9,7 +9,7 @@ import (
"github.com/oauth2-proxy/oauth2-proxy/pkg/encryption"
)
func validateCookieOptions(o options.CookieOptions) []string {
func validateCookie(o options.Cookie) []string {
msgs := validateCookieSecret(o.Secret)
if o.Refresh >= o.Expire {