From 6994a3a6913ff3eabe98f5f182343d58ffb6a3a0 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 30 Jul 2021 11:56:33 -0400 Subject: [PATCH] Fix captcha replay issue. --- src/shared/components/home/login.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/components/home/login.tsx b/src/shared/components/home/login.tsx index e578255..b227d64 100644 --- a/src/shared/components/home/login.tsx +++ b/src/shared/components/home/login.tsx @@ -408,6 +408,8 @@ export class Login extends Component { handleRegenCaptcha(i: Login) { i.audio = null; + i.state.captchaPlaying = false; + i.setState(i.state); WebSocketService.Instance.send(wsClient.getCaptcha()); } -- 2.44.1