You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validation succeeds only if the correct answer is given to the first check() or check_api() call. If a user enters an incorrect value, they cannot try again; instead a new captcha must be generated. I think that is because we use Cache::pull() rather than Cache::get() in the check code:
if (!Cache::pull($this->get_cache_key($key))) {
returnfalse;
}
The problem can be illustrated with artisan tinker running this:
Validation succeeds only if the correct answer is given to the first
check()
orcheck_api()
call. If a user enters an incorrect value, they cannot try again; instead a new captcha must be generated. I think that is because we useCache::pull()
rather thanCache::get()
in the check code:The problem can be illustrated with
artisan tinker
running this:Example output follows:
The text was updated successfully, but these errors were encountered: