From 7dbe38ba0522b346a0fcd9851e797f0fd71ecd5e Mon Sep 17 00:00:00 2001 From: Michael Dürre Date: Thu, 16 Jul 2020 05:55:07 +0200 Subject: switch to rfc8040 restconf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit change rest interface and some small code cleanups Issue-ID: CCSDK-2572 Signed-off-by: Michael Dürre Change-Id: I3475bd2574b32950c4bf84fbd1c2a9dac9af208a --- sdnr/wt/odlux/framework/src/views/login.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sdnr/wt/odlux/framework/src/views/login.tsx') diff --git a/sdnr/wt/odlux/framework/src/views/login.tsx b/sdnr/wt/odlux/framework/src/views/login.tsx index fa01568ea..30b9c85a2 100644 --- a/sdnr/wt/odlux/framework/src/views/login.tsx +++ b/sdnr/wt/odlux/framework/src/views/login.tsx @@ -164,7 +164,8 @@ class LoginComponent extends React.Component { event.preventDefault(); this.setState({ busy: true }); - const token = await authenticationService.authenticateUser(this.state.username, this.state.password, this.state.scope); + // const token = await authenticationService.authenticateUserOAuth(this.state.username, this.state.password, this.state.scope); + const token = await authenticationService.authenticateUserBasicAuth(this.state.username, this.state.password, this.state.scope); this.props.dispatch(new UpdateAuthentication(token)); this.setState({ busy: false }); -- cgit 1.2.3-korg