summaryrefslogtreecommitdiffstats
path: root/ui/src/components/login.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-25 20:14:52 -0700
committerDessalines <tyhou13@gmx.com>2019-04-25 20:14:52 -0700
commit9374aefa56a707cafce8740cd45a0d254ea2184f (patch)
tree306c6a35e099768c0d10ea69fe8af282cd7bb5e2 /ui/src/components/login.tsx
parent1e0aa5dd3d8b616a5be49887f284047d09cd1871 (diff)
Temp
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) {