Fix captcha session key retrieval in CaptchaWidget

1 parent 1b0c0e65
......@@ -402,7 +402,7 @@ class CaptchaWidget(Widget):
return null
captcha_message = "Captcha tidak sesuai"
captcha_session = self.request.session.get("captcha", "")
captcha_session = self.request.session.get("captcha_code", "")
if captcha_session:
if pstruct != captcha_session:
_logging.error(f"Captcha tidak sesuai: {pstruct} != {captcha_session}")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!