Localize error messages

Issue #40 new
Dan created an issue

Sitation

The error message text for unauthorized access is hardcoded into the API controller,

and reveals the IP address of the visitor.

https://bitbucket.org/99grad-team/nnrestapi/src/96bd5febbc00386791d5c16e7717a4f3fb6dbe60/Classes/Controller/ApiController.php#lines-77

Feature Request

Allow to overwrite the error message with a configuration setting or make use a locallang.xlf file.

This would allow translations, custom error messages and removing the IP address if desired.

Comments (0)

  1. Log in to comment