diff --git a/app/Config/Services.php b/app/Config/Services.php index 4774c00..18a659e 100644 --- a/app/Config/Services.php +++ b/app/Config/Services.php @@ -2,7 +2,7 @@ namespace Config; -use App\Services\Auth\AuthService; +use App\Services\Auth\LocalService; use CodeIgniter\Config\BaseService; /** @@ -30,12 +30,12 @@ class Services extends BaseService * return new \CodeIgniter\Example(); * } */ - public static function myauth($getShared = true): AuthService + public static function myauth($getShared = true): LocalService { if ($getShared) { return static::getSharedInstance('myauth'); } else { - return new AuthService(); + return new LocalService(); } } }