git.iko.soy/typeable/oauth2-proxy
on master help sign in
Use display-htpasswd-form flag (#778)

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>

commitcc6532a2822b58e6e8242a9988c2981e097ff1a3 authorofir-amir <60230613+ofir-amir@users.noreply.github.com> dateSun 8 Nov 2020, 20:48 (6 years ago) parent47710d0
2 files changed+3−1
CHANGELOG.md+2 oauthproxy.go+1−1
CHANGELOG.md+2
@@ -48,6 +48,7 @@
4848- [#722](https://github.com/oauth2-proxy/oauth2-proxy/pull/722) Validate Redis configuration options at startup (@NickMeves)
4949- [#791](https://github.com/oauth2-proxy/oauth2-proxy/pull/791) Remove GetPreferredUsername method from provider interface (@NickMeves)
5050- [#764](https://github.com/oauth2-proxy/oauth2-proxy/pull/764) Document bcrypt encryption for htpasswd (and hide SHA) (@lentzi90)
51+- [#778](https://github.com/oauth2-proxy/oauth2-proxy/pull/778) Use display-htpasswd-form flag
5152- [#616](https://github.com/oauth2-proxy/oauth2-proxy/pull/616) Add support to ensure user belongs in required groups when using the OIDC provider (@stefansedich)
5253- [#800](https://github.com/oauth2-proxy/oauth2-proxy/pull/800) Fix import path for v7 (@johejo)
5354- [#783](https://github.com/oauth2-proxy/oauth2-proxy/pull/783) Update Go to 1.15 (@johejo)
@@ -57,6 +58,7 @@
5758- [#829](https://github.com/oauth2-proxy/oauth2-proxy/pull/820) Rename test directory to testdata (@johejo)
5859- [#819](https://github.com/oauth2-proxy/oauth2-proxy/pull/819) Improve CI (@johejo)
5960
61+
6062# v6.1.1
6163
6264## Release Highlights
oauthproxy.go+1−1
@@ -222,7 +222,7 @@ func NewOAuthProxy(opts *options.Options, validator func(string) bool) (*OAuthPr
222222 AllowedGroups: opts.AllowedGroups,
223223
224224 basicAuthValidator: basicAuthValidator,
225− displayHtpasswdForm: basicAuthValidator != nil,
225+ displayHtpasswdForm: basicAuthValidator != nil && opts.DisplayHtpasswdForm,
226226 sessionChain: sessionChain,
227227 headersChain: headersChain,
228228 preAuthChain: preAuthChain,