log
parent
ec780f7d9b
commit
6abfab229a
|
|
@ -154,7 +154,7 @@ func (s *Server) oauth(h http.HandlerFunc) http.HandlerFunc {
|
||||||
if config.OAuth != "" {
|
if config.OAuth != "" {
|
||||||
err := oauth2client.Authenticate(config.OAuth, r.Host, w, r)
|
err := oauth2client.Authenticate(config.OAuth, r.Host, w, r)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("oauth failure", err)
|
log.Println("oauth failure", r.Host, ":", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue