captcha: fix non-mutating compare#12
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
vponkratina
left a comment
There was a problem hiding this comment.
The PR resolves a critical bug by ensuring that the stored captcha value isn't mutated during validation, following a more functional approach by creating normalized copies for comparison. However, I couldn't review this PR in more detail because I couldn't retrieve specific coding conventions for this programming language. If you'd like me to proceed otherwise or check for something specific, let me know!
avoid mutating stored captcha during validation by comparing normalized strings.