projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix user/project creation with domain_name.
[osm/NBI.git]
/
osm_nbi
/
auth.py
diff --git
a/osm_nbi/auth.py
b/osm_nbi/auth.py
index
1b8fa2b
..
f756d9d
100644
(file)
--- a/
osm_nbi/auth.py
+++ b/
osm_nbi/auth.py
@@
-404,10
+404,8
@@
class Authenticator:
def new_token(self, token_info, indata, remote):
new_token_info = self.backend.authenticate(
def new_token(self, token_info, indata, remote):
new_token_info = self.backend.authenticate(
- user=indata.get("username"),
- password=indata.get("password"),
+ credentials=indata,
token_info=token_info,
token_info=token_info,
- project=indata.get("project_id")
)
new_token_info["remote_port"] = remote.port
)
new_token_info["remote_port"] = remote.port