mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
4a24bd9e24
2638: further finishing touches for restful api r=mergify[bot] a=Diman0 - Fix setup utility setting correct value to env var API. It now also sets `false` when the API is disabled in the setup utility. - Fix IF statement for enabling API in nginx.conf. Setting a different value than `API=true` in mailu.env now disabled the API endpoint in nginx. - Use safer command for regenerating example API token. It uses crypto.getRandomValues() (as suggested by nextgens) which should be more random than the previously used method. ## What type of PR? bug-fix ## What does this PR do? ### Related issue(s) ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [ ] In case of feature or enhancement: documentation updated accordingly - [ ] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. Co-authored-by: Dimitri Huisman <diman@huisman.xyz> |
||
---|---|---|
.. | ||
_templates | ||
assets | ||
compose | ||
contributors | ||
kubernetes/mailu | ||
.env | ||
antispam.rst | ||
api.rst | ||
arm_images.rst | ||
cli.rst | ||
conf.py | ||
configuration.rst | ||
database.rst | ||
demo.rst | ||
dns.rst | ||
docker-compose.yml | ||
Dockerfile | ||
faq.rst | ||
features.rst | ||
general.rst | ||
index.rst | ||
maintain.rst | ||
nginx.conf | ||
releases.rst | ||
requirements.txt | ||
reverse.rst | ||
setup.rst | ||
webadministration.rst |