From ace34903be528e8e10e096d3d059b81df30ddaa9 Mon Sep 17 00:00:00 2001 From: delacruzramo Date: Mon, 17 Jun 2019 12:23:31 +0200 Subject: [PATCH] Fix Bug 774 - NBI+Keystone: Trying to obtain a token with user+password+project gives a Keystone authentication error Change-Id: Ia1460a445b22eb41e5e4d0a4814294888afcc5f5 Signed-off-by: delacruzramo --- osm_nbi/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm_nbi/auth.py b/osm_nbi/auth.py index dc7c0ff..576ae4d 100644 --- a/osm_nbi/auth.py +++ b/osm_nbi/auth.py @@ -314,7 +314,7 @@ class Authenticator: current_token = session.get("token") token_info = self.backend.authenticate( user=indata.get("username"), - password=indata.get("username"), + password=indata.get("password"), token=current_token, project=indata.get("project_id") ) -- 2.17.1