This is an automated email from the ASF dual-hosted git repository.

rob pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit 5f2574cdf0350c85f7fa456a036be19fbe8cad76
Author: Dylan Volz <dylan_v...@comcast.com>
AuthorDate: Wed May 23 15:35:03 2018 -0600

    add access.log entry for login endpoint
---
 traffic_ops/traffic_ops_golang/routes.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_ops/traffic_ops_golang/routes.go 
b/traffic_ops/traffic_ops_golang/routes.go
index 693bc62..16f5f0b 100644
--- a/traffic_ops/traffic_ops_golang/routes.go
+++ b/traffic_ops/traffic_ops_golang/routes.go
@@ -128,7 +128,7 @@ func Routes(d ServerData) ([]Route, []RawRoute, 
http.Handler, error) {
                {1.1, http.MethodGet, `hwinfo-wip/?(\.json)?$`, 
hwinfo.HWInfoHandler(d.DB), auth.PrivLevelReadOnly, Authenticated, nil},
 
                //Login
-               {1.2, http.MethodPost, `user/login/?$`, auth.LoginHandler(d.DB, 
d.Config), 0, NoAuth, nil}, {1.3, http.MethodPost, `user/login/?$`, 
auth.LoginHandler(d.DB, d.Config), 0, NoAuth, nil},
+               {1.2, http.MethodPost, `user/login/?$`, 
wrapAccessLog(d.Secrets[0], auth.LoginHandler(d.DB, d.Config)), 0, NoAuth, 
nil}, {1.3, http.MethodPost, `user/login/?$`, auth.LoginHandler(d.DB, 
d.Config), 0, NoAuth, nil},
 
                //Parameter: CRUD
                {1.1, http.MethodGet, `parameters/?(\.json)?$`, 
api.ReadHandler(parameter.GetRefType(), d.DB), auth.PrivLevelReadOnly, 
Authenticated, nil},

-- 
To stop receiving notification emails like this one, please contact
r...@apache.org.

Reply via email to