From f62953797cb070e674c660e875e854f8cfe188bf Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 19 Jan 2024 13:00:15 -0500 Subject: [PATCH] Revert "Fix captcha cache control bug" (#2335) --- src/shared/components/home/signup.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/shared/components/home/signup.tsx b/src/shared/components/home/signup.tsx index ac31318b..94c09cd5 100644 --- a/src/shared/components/home/signup.tsx +++ b/src/shared/components/home/signup.tsx @@ -71,13 +71,9 @@ export class Signup extends Component { async fetchCaptcha() { this.setState({ captchaRes: LOADING_REQUEST }); - HttpService.client.setHeaders({ - "Cache-Control": "private, no-cache", - }); this.setState({ captchaRes: await HttpService.client.getCaptcha(), }); - HttpService.client.setHeaders({}); this.setState(s => { if (s.captchaRes.state === "success") {