From: delacruzramo Date: Mon, 17 Jun 2019 10:23:31 +0000 (+0200) Subject: Fix Bug 774 - NBI+Keystone: Trying to obtain a token with user+password+project gives... X-Git-Tag: v6.0.0^0 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=commitdiff_plain;h=ace34903be528e8e10e096d3d059b81df30ddaa9 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 --- 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") )