-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refresh image not work laravel 5.7.28, 5.8.3 #160
Comments
I'm facing the same issue on 5.7 |
The problem is the same for me. Any Solution? |
that is my problem |
I solved this problem by these below method... In your <img src="{{captcha_src('flat')}}" onclick="this.src='/captcha/flat?'+Math.random()" id="captchaCode" alt="" class="captcha">
<a rel="nofollow" href="javascript:;" onclick="document.getElementById('captchaCode').src='captcha/flat?'+Math.random()" class="refresh">
<button type="button" class="btn btn-info btn-refresh"><i class="fas fa-sync-alt"></i></button>
</a> Hope this helps |
@tfevan without an Ajax request how Laravel knows on server side the new captcha to validate? |
@tfevan Not sure how it works tbh but I just tested it and it does use the new captcha to validate |
after update mews/captcha to 2.2.6 , captcha image work only on the first request after press refresh button image disappear
The text was updated successfully, but these errors were encountered: