lonnieezell / myth-auth

One-stop Auth package for CodeIgniter 4
MIT License
632 stars 207 forks source link

Undefined property: Config\Auth::$reservedRoutes #589

Closed ProjectLinde37 closed 1 year ago

ProjectLinde37 commented 1 year ago

Running on new setup

Any idea?

` FCPATH\vendor\myth\auth\src\Config\Routes.php at line 14

7 8 /* @var RouteCollection $routes / 9 10 // Myth:Auth routes file. 11 $routes->group('', ['namespace' => 'Myth\Auth\Controllers'], static function ($routes) { 12 // Load the reserved routes from Auth.php 13 $config = config(AuthConfig::class); 14 $reservedRoutes = $config->reservedRoutes; 15 16 // Login/out 17 $routes->get($reservedRoutes['login'], 'AuthController::login', ['as' => $reservedRoutes['login']]); 18 $routes->post($reservedRoutes['login'], 'AuthController::attemptLogin'); 19 $routes->get($reservedRoutes['logout'], 'AuthController::logout'); 20 21 // Registration

`

manageruz commented 1 year ago

Hi @ProjectLinde37 Can you give us more info? version of myth:auth version of CodeIgniter PHP version

manageruz commented 1 year ago

More than 6 months have passed, and there is no answer from the author. Closing as stale.