diff --git a/.travis.yml b/.travis.yml index 2bda2e81053..79578484b3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -148,6 +148,7 @@ install: #sudo apt install composer composer -V sudo composer -n config -g vendor-dir htdocs/includes + sudo composer -n config audit.block-insecure false sudo chmod -R a+rwx /home/travis/.config/composer echo diff --git a/htdocs/user/class/api_users.class.php b/htdocs/user/class/api_users.class.php index b2e30b6b8c5..8042101a27f 100644 --- a/htdocs/user/class/api_users.class.php +++ b/htdocs/user/class/api_users.class.php @@ -311,7 +311,7 @@ class Users extends DolibarrApi * @phpstan-param ?array $request_data * @return int * - * @throws RestException 401 Not allowed + * @throws RestException 403 Not allowed */ public function post($request_data = null) {