summaryrefslogtreecommitdiffstats
path: root/ui/src/components/login.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/login.tsx')
-rw-r--r--ui/src/components/login.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/src/components/login.tsx b/ui/src/components/login.tsx
index f86faa2e..2a9f8d7d 100644
--- a/ui/src/components/login.tsx
+++ b/ui/src/components/login.tsx
@@ -157,7 +157,9 @@ export class Login extends Component<any, State> {
i.state.registerLoading = true;
i.setState(i.state);
event.preventDefault();
- WebSocketService.Instance.register(i.state.registerForm);
+ setTimeout(function(){
+ WebSocketService.Instance.register(i.state.registerForm);
+ }, 10000);
}
handleRegisterUsernameChange(i: Login, event: any) {