ecamp / ecamp/ecamp3

Kubernetes: Recaptcha secret is required

Open
#3,311 0 comments 0 reactions 0 assignees View on GitHub
agents:ignore
Dominant language
PHP
Stars
156
Forks
72
Avg merge
12h 43m
Merged PRs (30d)
203

Description

Our kubernetes deployment requires Recaptcha to be enabled.
If you don't set the secret in the environment, the deployment works, but the api does not allow you to register.
```
{"message":"Uncaught PHP Exception RuntimeException: \"No secret provided\" at /srv/api/vendor/google/recaptcha/src/ReCaptcha/ReCaptcha.php line 142","context":{"exception":{"class":"RuntimeException","message":"No secret provided","code":0,"file":"/srv/api/vendor/google/recaptcha/src/ReCaptcha/ReCaptcha.php:142"}},"level":500,"level_name":"CRITICAL","channel":"request","datetime":"2023-02-27T13:56:41.784593+00:00","extra":{}}
```

Either:
- Allow to use ecamp without recaptcha Secret
- Fail the helm chart deployment if the secret is not set

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.