- Moved all the code related to authentication to AuthLib

- Changed configuration files autoload.php and rest.php to use AuthLib
- Added new method getCheckUserAuth to controller CheckUserAuth.php
- Removed libraries/FHC_Auth.php
- Removed models/CheckUserAuth_model.php
- Removed include/AddonAuthentication.php
This commit is contained in:
Paolo
2017-09-25 17:11:44 +02:00
parent ec62250b41
commit 3cf42c4545
6 changed files with 56 additions and 143 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ $config['auth_source'] = 'library';
| password for that username, even if it is hashed
|
*/
$config['auth_library_class'] = 'FHC_Auth';
$config['auth_library_class'] = 'AuthLib';
// rest_auth is basic
$config['auth_library_function'] = 'basicAuthentication';