From 59965696077a021371763c8f18aee989449e3609 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 15 Jun 2020 11:33:56 +0300 Subject: [PATCH] Fixed registration bugs: empty password gets registered, credentials not being sent --- .../ui/src/components/pages/RegisterPage.js | 4 +-- .../zerotrust/SummarySection.js | 6 ++--- .../cc/ui/src/services/AuthService.js | 27 ++++++++++--------- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/RegisterPage.js b/monkey/monkey_island/cc/ui/src/components/pages/RegisterPage.js index e6f197e32..c27d558ed 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/RegisterPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/RegisterPage.js @@ -65,8 +65,8 @@ class RegisterPageComponent extends React.Component {

Let's secure your island!

- - + this.updateUsername(evt)} type='text' placeholder='Username'/> + this.updatePassword(evt)} type='password' placeholder='Password'/>