Button "Lost Password" should bring to suitable page (instead of page not found error)
From /users/login
, the button "Lost password" (target /users/forgot-password
) leads to a "page not found" error.
logs:
2018-08-08 15:15:35 Error: [Cake\Routing\Exception\MissingControllerException] Controller class Users could not be found.
Request URL: /users/forgot-password
Referer URL: http://v248rc1.comptoir-du-libre.org/users/login
Client IP: 109.190.216.28
Stack Trace:
#0 /home/comptoir/Comptoir-srv/vendor/cakephp/cakephp/src/Http/ControllerFactory.php(72): Cake\Http\ControllerFactory->missingController(Object(Cake\Network\Request))
#1 /home/comptoir/Comptoir-srv/vendor/cakephp/cakephp/src/Routing/Filter/ControllerFactoryFilter.php(63): Cake\Http\ControllerFactory->create(Object(Cake\Network\Request), Object(Cake\Network\Response))
#2 /home/comptoir/Comptoir-srv/vendor/cakephp/cakephp/src/Routing/Filter/ControllerFactoryFilter.php(49): Cake\Routing\Filter\ControllerFactoryFilter->_getController(Object(Cake\Network\Request), Object(C
ake\Network\Response))
#3 /home/comptoir/Comptoir-srv/vendor/cakephp/cakephp/src/Routing/DispatcherFilter.php(144): Cake\Routing\Filter\ControllerFactoryFilter->beforeDispatch(Object(Cake\Event\Event))
#4 /home/comptoir/Comptoir-srv/vendor/cakephp/cakephp/src/Event/EventManager.php(426): Cake\Routing\DispatcherFilter->handle(Object(Cake\Event\Event), Object(Cake\Network\Request), Object(Cake\Network\Res
ponse))
#5 /home/comptoir/Comptoir-srv/vendor/cakephp/cakephp/src/Event/EventManager.php(391): Cake\Event\EventManager->_callListener(Array, Object(Cake\Event\Event))
#6 /home/comptoir/Comptoir-srv/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php(78): Cake\Event\EventManager->dispatch(Object(Cake\Event\Event))
#7 /home/comptoir/Comptoir-srv/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(80): Cake\Http\ActionDispatcher->dispatchEvent('Dispatcher.befo...', Array)
#8 /home/comptoir/Comptoir-srv/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(60): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))
#9 /home/comptoir/Comptoir-srv/webroot/index.php(36): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))
#10 {main}
Edited by Matthieu FAURE