no-captcha
no-captcha copied to clipboard
Update for multiple app('captcha')->display() on the same page - V2
BRANCH CORRECTION OF PREVIOUS PULL REQUEST : https://github.com/anhskohbo/no-captcha/pull/58
ORIGINAL COMMENT :
hi! so, after furder checking this situation, i forget that the default google reCaptcha code will automatically render only the first div/instance, so i added a function to use the "explicit" mode, with this changes to request only one noCaptcha just call display :
{!! app('captcha')->display() !!}
when usign multipla instance we should call only the functio multiple_display like this :
{!! app('captcha')->multiple_display() !!} ..... {!! app('captcha')->multiple_display() !!}
what do you think?
hi, the test should be updated too because the display() will not work when called multiple times... :S