mozilla / network-pulse-api

API for the Network-Pulse project
Mozilla Public License 2.0
12 stars 22 forks source link

Add recaptcha to the API server #766

Closed Pomax closed 2 years ago

Pomax commented 2 years ago

This PR covers the server-side recaptcha work outlined in https://github.com/mozilla/network-pulse-api/issues/762

This gates the login route behind recaptcha validation, if USE_RECAPTCHA is enabled.

Requires https://github.com/mozilla/network-pulse/pull/1637 on the client-side.

Testing

tbrlpld commented 2 years ago

I have also tested in conjunction with the frontend PR and can confirm this works as expected.