DarkGhostHunter / Captchavel

Integrate reCAPTCHA into your Laravel app better than the Big G itself!
MIT License
95 stars 17 forks source link

Token renewal #16

Closed robbanl closed 4 years ago

robbanl commented 4 years ago

Hello!

Using auto-mode but from what I can see, the token is not refreshed after 2 minutes (when it expires according to Google) :-O

I'm about to write a small js string that will refresh the token automatically to see if it helps, or have I missunderstood something? :)

Thanks!

DarkGhostHunter commented 4 years ago

Indeed, the token expires and is not refreshed automatically, not by Google or the package script.

I think we can wrap the forEach() part of the Array into a function that runs an 120 second interval.

DarkGhostHunter commented 4 years ago

Fixed in newest version.