Rename CookieOptions to Cookie

This commit is contained in:
Joel Speed
2020-07-05 09:18:21 +01:00
parent 285c65a2d4
commit 211fd3a010
13 changed files with 72 additions and 72 deletions
+1 -1
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 {