diff options
author | 2020-10-09 13:24:10 +0000 | |
---|---|---|
committer | 2020-10-09 13:24:10 +0000 | |
commit | 0f280166f426fe313dd333f7fe78ad4c6cac62b6 (patch) | |
tree | 0760d4c07832c8ca907e5f0138d39afe7a0d5bb6 /sdnr/wt/odlux/framework/src/services/authenticationService.ts | |
parent | b947f8f85f5b55f7f58484471d15102de49cfe85 (diff) | |
parent | 904552c5e9bc395260319fe50cc0760043f98ba5 (diff) |
Merge "Fix faulty login"
Diffstat (limited to 'sdnr/wt/odlux/framework/src/services/authenticationService.ts')
-rw-r--r-- | sdnr/wt/odlux/framework/src/services/authenticationService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/framework/src/services/authenticationService.ts b/sdnr/wt/odlux/framework/src/services/authenticationService.ts index cd8a93a53..9b006fc16 100644 --- a/sdnr/wt/odlux/framework/src/services/authenticationService.ts +++ b/sdnr/wt/odlux/framework/src/services/authenticationService.ts @@ -49,7 +49,7 @@ class AuthenticationService { } public async authenticateUserBasicAuth(email: string, password: string, scope: string): Promise<AuthToken | null> { - const result = await requestRest<string>(`restconf/modules`, { + const result = await requestRest<string>(`rests/data/network-topology:network-topology/topology=topology-netconf?fields=node(node-id)`, { method: "GET", headers: { 'Authorization': "Basic " + btoa(email + ":" + password) |