- Added private property $_requiredPermissions to APIv1_Controller

- Removed method _isAllowed from APIv1_Controller
- Added public method _remap to APIv1_Controller
- PermissionLib loading moved from constructor to _remap in APIv1_Controller
- Changed method basicAuthentication in AuthLib, now calls loginLDAP
This commit is contained in:
Paolo
2019-04-25 17:02:43 +02:00
parent a2b6d1e8dd
commit f65f3daceb
3 changed files with 25 additions and 12 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ class AuthLib
*/
public function basicAuthentication($username, $password)
{
return isSuccess($this->_checkLDAPAuthentication($username, $password));
return isSuccess($this->loginLDAP($username, $password));
}
/**