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 Jul 4, 2016
1 parent 296087d commit e8c803c
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 @@ -67,6 +67,7 @@ type OAuthProxy struct {
compiledRegex []*regexp.Regexp
templates *template.Template
Footer string
EnableInsecure bool
}

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

Expand Down

0 comments on commit e8c803c

Please sign in to comment.