diff --git a/ui/src/components/login.tsx b/ui/src/components/login.tsx index 9a3cf3e..c8de6c7 100644 --- a/ui/src/components/login.tsx +++ b/ui/src/components/login.tsx @@ -271,6 +271,9 @@ export class Login extends Component { handleRegisterEmailChange(i: Login, event: any) { i.state.registerForm.email = event.target.value; + if (i.state.registerForm.email == '') { + i.state.registerForm.email = undefined; + } i.setState(i.state); }