Open mkrasselt1 opened 1 month ago
@mkrasselt1 First: Thank you for your time and this contribution! 👍
Your changes would also have to be tested accordingly. Could you add the tests?
I can an I will :) (never worked with tests bevore but I will figure it out :))
Solves this bug: https://github.com/laminas/laminas-captcha/issues/13 and another one where attackers could just resend the last captcha over and over again, until the expiration period has passed. Thats not what i would expect a captcha class to allow
BREAKING CHANGE: prevents double sending of captchas - invalidates them after successful validation by regeneration of words