mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-07 17:42:53 +01:00
Use the non deprecated function loadRights instead of getrights
This commit is contained in:
@@ -200,7 +200,7 @@ class DolibarrApiAccess implements iAuthenticate
|
||||
}
|
||||
|
||||
// User seems valid
|
||||
$fuser->getrights();
|
||||
$fuser->loadRights();
|
||||
|
||||
// Set the property $user to the $user of API
|
||||
static::$user = $fuser;
|
||||
|
||||
Reference in New Issue
Block a user