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 6cb891261e8fa03070c290539f2287ba9b45b644 Author: Dylan Volz <dylan_v...@comcast.com> AuthorDate: Tue May 1 06:35:55 2018 -0600 add changelog entry for login endpoint --- CHANGELOG.md | 1 + traffic_ops/client/v13/session.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ad7d75..113cfe0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - /api/1.3/divisions `(GET,POST,PUT,DELETE)` - /api/1.3/hwinfos `(GET)` - /api/1.3/coordinates `(GET,POST,PUT,DELETE)` + - /api/1.3/login `(POST)` - /api/1.3/parameters `(GET,POST,PUT,DELETE)` - /api/1.3/profileparameters `(GET,POST,PUT,DELETE)` - /api/1.3/phys_locations `(GET,POST,PUT,DELETE)` diff --git a/traffic_ops/client/v13/session.go b/traffic_ops/client/v13/session.go index 915988c..aea65d6 100644 --- a/traffic_ops/client/v13/session.go +++ b/traffic_ops/client/v13/session.go @@ -114,7 +114,7 @@ func (to *Session) login() (net.Addr, error) { return nil, errors.New("creating login credentials: " + err.Error()) } - path := "/api/1.3/user/login" + path := "/api/1.2/user/login" resp, remoteAddr, err := to.rawRequest("POST", path, credentials) resp, remoteAddr, err = to.ErrUnlessOK(resp, remoteAddr, err, path) if err != nil { -- To stop receiving notification emails like this one, please contact r...@apache.org.