Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
Added missing paramter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar Elazhary committed Apr 11, 2016
1 parent ab48779 commit baed4bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oauthproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ type OAuthProxy struct {
skipAuthRegex []string
compiledRegex []*regexp.Regexp
templates *template.Template
EnableInsecure bool
}

type UpstreamProxy struct {
Expand Down Expand Up @@ -199,6 +200,7 @@ func NewOAuthProxy(opts *Options, validator func(string) bool) *OAuthProxy {
PassAccessToken: opts.PassAccessToken,
CookieCipher: cipher,
templates: loadTemplates(opts.CustomTemplatesDir),
EnableInsecure: opts.EnableInsecure,
}
}

Expand Down

0 comments on commit baed4bc

Please sign in to comment.