Have a working process to recover a lost password
Trying to change a lost password sends an email. In this email, the link to actually change the password leads to an error "This page does not exist".
error.log
shows:
2018-08-14 15:06:52 Error: [Cake\Routing\Exception\MissingControllerException] Controller class Users could not be found.
Request URL: /users/changePassword/ed585c2a-7588-4376-9210-fe446a7f11e4
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(Cake\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\Response))
#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}
Explanation
Link provided in the email is wrong.
-
https://www.comptoir-du-libre.org/users/changePassword/VERY-LONG-CODE
<-- how it is -
https://www.comptoir-du-libre.org/users/change-password/VERY-LONG-CODE
<-- how it should be
Edited by Matthieu FAURE