I've a problem with Codeigniter Restserver (https://github.com/chriskacerguis/codeigniter-restserver) because I've enabled basic autentication but it returns always results even if credentials are wrong. See details below:
Into rest.php file I modified the value: $config['rest_auth'] = ''; to $config['rest_auth'] = 'basic';
then
$config['auth_source'] = 'ldap'; to $config['auth_source'] = '';
Credentials are stored in $config['rest_valid_logins'] = ['admin' => '1234'];
But if I try to call my webservice, it answers with results even if credentials are wrong or missed. Why?
Thanks.