Przeglądaj źródła

service exported review

Jonathan Turner 7 lat temu
rodzic
commit
9b5b39a3ba
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      service/http.go

+ 1 - 1
service/http.go

@@ -35,7 +35,7 @@ const (
 )
 
 // SPNEGOKRB5Authenticate is a Kerberos SPNEGO authentication HTTP handler wrapper.
-func SPNEGOKRB5Authenticate(f http.Handler, c *SPNEGOConfig, l *log.Logger) http.Handler {
+func SPNEGOKRB5Authenticate(f http.Handler, c *Config, l *log.Logger) http.Handler {
 	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
 		s := strings.SplitN(r.Header.Get(HTTPHeaderAuthRequest), " ", 2)
 		if len(s) != 2 || s[0] != HTTPHeaderAuthResponseValueKey {