mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-19 07:45:00 +02:00
fix: SHOW_DEBUG_ON_ERROR environment variable not working
(Fixes #1178)
This commit is contained in:
@@ -33,7 +33,7 @@ type Templates struct {
|
||||
// It is not advised to use this in production as errors may contain sensitive
|
||||
// information.
|
||||
// Use only for diagnosing backend errors.
|
||||
Debug bool `flag:"show-debug-on-error" cfg:"show-debug-on-error"`
|
||||
Debug bool `flag:"show-debug-on-error" cfg:"show_debug_on_error"`
|
||||
}
|
||||
|
||||
func templatesFlagSet() *pflag.FlagSet {
|
||||
|
||||
Reference in New Issue
Block a user