From 4a931ca033b9e9493f6aa53dbe07bc06e9c90f7f Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 18 Jun 2021 22:37:10 +0800 Subject: [PATCH] Bugfix: disable enableAuthentication auth auto login using wrong network key issue (#250) * Bugfix: disable auth auto login using wrong network key Signed-off-by: Thomas * Update PR base on nekia review Signed-off-by: Thomas --- client/src/components/Login/Login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Login/Login.js b/client/src/components/Login/Login.js index 8f0e3c769..24a467b6e 100644 --- a/client/src/components/Login/Login.js +++ b/client/src/components/Login/Login.js @@ -181,7 +181,7 @@ export class Login extends Component { this.setState(() => ({ autoLoginAttempted: true })); - await this.performLogin({ network: networks[0].name }); + await this.performLogin({ network: networks[0].id }); } }