Welcome Guest, Not a member yet? Register   Sign In
Route wont work
#11

Hi, i've this

service('auth')->routes($routes, ['except' => ['login', 'register','change-password']]);
$routes->get('login', '\App\Controllers\Shield\LoginController::loginView'); //handle in customized controller
$routes->post('login', '\App\Controllers\Shield\LoginController::loginAction'); //handle in customized controller
$routes->get('register', '\App\Controllers\Shield\RegisterController::registerView');
Reply
#12

I checked the project where I use Shield and the auto routes improved. Everything is working properly.

There is no such route as change-password.

And you should specify register route for POST.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB