diff options
Diffstat (limited to 'services/auth/reverseproxy.go')
-rw-r--r-- | services/auth/reverseproxy.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/auth/reverseproxy.go b/services/auth/reverseproxy.go index 3e44d8b863..1b151f6504 100644 --- a/services/auth/reverseproxy.go +++ b/services/auth/reverseproxy.go @@ -32,8 +32,7 @@ const ReverseProxyMethodName = "reverse_proxy" // On successful authentication the proxy is expected to populate the username in the // "setting.ReverseProxyAuthUser" header. Optionally it can also populate the email of the // user in the "setting.ReverseProxyAuthEmail" header. -type ReverseProxy struct { -} +type ReverseProxy struct{} // getUserName extracts the username from the "setting.ReverseProxyAuthUser" header func (r *ReverseProxy) getUserName(req *http.Request) string { |