Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b8c3dea9
authored
Oct 21, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix captcha session key retrieval in CaptchaWidget
1 parent
1b0c0e65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
opensipkd/base/widgets/widget_os.py
opensipkd/base/widgets/widget_os.py
View file @
b8c3dea
...
...
@@ -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}"
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment