no-captcha icon indicating copy to clipboard operation
no-captcha copied to clipboard

Update for multiple app('captcha')->display() on the same page - V2

Open seltix5 opened this issue 7 years ago • 1 comments

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?

seltix5 avatar Apr 06 '17 08:04 seltix5

hi, the test should be updated too because the display() will not work when called multiple times... :S

seltix5 avatar Apr 06 '17 08:04 seltix5