mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
add new rule
This commit is contained in:
@@ -158,8 +158,7 @@ class DolibarrApiAccess implements iAuthenticate
|
||||
static::$role = 'admin';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
else {
|
||||
throw new RestException(401, "Failed to login to API. No parameter 'HTTP_DOLAPIKEY' on HTTP header (and no parameter DOLAPIKEY in URL).");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user