greggilbert / recaptcha

[ABANDONED] reCAPTCHA Validator for Laravel 5
MIT License
713 stars 196 forks source link

Allow multiple reCaptchas on single page #136

Closed Rikcon closed 7 months ago

Rikcon commented 7 years ago

Hello everyone, tweaked this package a bit to allow multiple captchas on single page. Earlier google's js file was loaded every time i call Recaptcha::render(), now it loads only once and initialize all captchas via callback.

Code may be a little bit smelly but gets the job done.

I'm open for any type of suggestions/contribtions to my work.

greggilbert commented 7 years ago

Couple of things:

  1. The .idea in the .gitignore is unnecessary for this.
  2. Can you squash the commits together?
Rikcon commented 7 years ago

First time making pull request, i'll see what i can do )

Rikcon commented 7 years ago

Is this ok ?

BTW it also fixes #135

DevparkBartekg commented 6 years ago

Hi @greggilbert Will it be merged?