Fix Bug 774 - NBI+Keystone: Trying to obtain a token with user+password+project gives... 71/7671/1 v6.0.0
authordelacruzramo <pedro.delacruzramos@altran.com>
Mon, 17 Jun 2019 10:23:31 +0000 (12:23 +0200)
committerdelacruzramo <pedro.delacruzramos@altran.com>
Mon, 17 Jun 2019 10:29:44 +0000 (12:29 +0200)
Change-Id: Ia1460a445b22eb41e5e4d0a4814294888afcc5f5
Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
osm_nbi/auth.py

index dc7c0ff..576ae4d 100644 (file)
@@ -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")
             )