kjac / FormEditor

A form builder editor for Umbraco 7 - let your editors build forms easily with this free package.
MIT License
99 stars 42 forks source link

Using reCaptcha on multisite installation #136

Closed Alistair67 closed 7 years ago

Alistair67 commented 7 years ago

Hi,

I have two different sites running on one Umbraco installation and I want to use formEditor on both sites and want to have reCaptcha on both forms. However, if I have to set the Site and Secret keys in web.config appSettings then as far as I can see, it will be wrong for one of the sites.

Is there some way of setting the appSettings dependent on which site you're on?

Cheers, Alistair

kjac commented 7 years ago

That's a pretty good point. I'll create a fix for it as soon as I can, hopefully this weekend.

Thanks for reporting it ☺️

Den 9. jun. 2017 12.12 PM skrev "Alistair67" notifications@github.com:

Hi,

I have two different sites running on one Umbraco installation and I want to use formEditor on both sites and want to have reCaptcha on both forms. However, if I have to set the Site and Secret keys in web.config appSettings then as far as I can see, it will be wrong for one of the sites.

Is there some way of setting the appSettings dependent on which site you're on?

Cheers, Alistair

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kjac/FormEditor/issues/136, or mute the thread https://github.com/notifications/unsubscribe-auth/AHD_Cn8b9GozpdVUg7SPNBxoIapj8UNtks5sCRqFgaJpZM4N1KbV .

Alistair67 commented 7 years ago

Wonderful. Thanks for the speedy response.

kjac commented 7 years ago

@Alistair67 you know you can use the same key set on multiple domains, right?

image

Alistair67 commented 7 years ago

No, I didn't know that. First time using reCaptcha but shoudl have spotted that. Just went ahead and registered the new site without realising I could add it in to an existing key. Sorry to bother you.

Thanks, Alistair

kjac commented 7 years ago

Ah well good, problem solved for now then ☺️

Den 9. jun. 2017 5.22 PM skrev "Alistair67" notifications@github.com:

No, I didn't know that. First time using reCaptcha but shoudl have spotted that. Just went ahead and registered the new site without realising I could add it in to an existing key. Sorry to bother you.

Thanks, Alistair

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kjac/FormEditor/issues/136#issuecomment-307418771, or mute the thread https://github.com/notifications/unsubscribe-auth/AHD_CuUBY9vTPJ8bp2qWdpVq-uRDn4Rqks5sCWMngaJpZM4N1KbV .