How to restrict users to have to pass a key to use

For my docker deployment, I have the following configuration
environment.
- LT_API_KEYS=true
- LT_REQ_LIMIT=0
- LT_LOAD_ONLY=zh,en
- LT_UPDATE_MODELS=true

But I don’t know why it still works even if I don’t access it with a key, but what I want to achieve is that the user has to use the key to get the translation results.

These two should be sufficient for your objective. Perhaps they are not being picked up when launching the program.

1 Like

Yes, I’ve managed to fix it because I didn’t update my settings in docker

1 Like