You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ro...@apache.org on 2018/05/17 22:41:33 UTC

[incubator-trafficcontrol] 14/19: add changelog entry for login endpoint

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 <Dy...@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
rob@apache.org.