diff --git a/htdocs/core/lib/security2.lib.php b/htdocs/core/lib/security2.lib.php index 8520ae74cf9..55b3266cc61 100644 --- a/htdocs/core/lib/security2.lib.php +++ b/htdocs/core/lib/security2.lib.php @@ -47,7 +47,7 @@ function dol_getwebuser($mode) * @param string $passwordtotest Password value to test * @param string $entitytotest Instance of data we must check * @param array $authmode Array list of selected authentication mode array('http', 'dolibarr', 'xxx'...) - * @param string $context Context checkLoginPassEntity was created for ('api', 'dav', '') + * @param string $context Context checkLoginPassEntity was created for ('api', 'dav', 'ws', '') * @return string Login or '' */ function checkLoginPassEntity($usertotest, $passwordtotest, $entitytotest, $authmode, $context = '')