Fix captcha replay issue.

This commit is contained in:
Dessalines 2021-07-30 11:56:33 -04:00
parent 782587b1a7
commit 6994a3a691

View file

@ -408,6 +408,8 @@ export class Login extends Component<any, State> {
handleRegenCaptcha(i: Login) { handleRegenCaptcha(i: Login) {
i.audio = null; i.audio = null;
i.state.captchaPlaying = false;
i.setState(i.state);
WebSocketService.Instance.send(wsClient.getCaptcha()); WebSocketService.Instance.send(wsClient.getCaptcha());
} }