/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/users/Docs/Documentation/Migration
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/users/Docs/Documentation/Migration/6.x-7.0.md (648B)
Migration 6.x to 7.0
======================
7.0 is compatible with CakePHP ^3.6 and the plugin code was updated to remove all deprecations.
* Add 'enableBeforeRedirect' configuration option to RequestHandler component load in your `src/Controller/AppController.php` file
```
public function initialize()
{
parent::initialize();
// Important: add the 'enableBeforeRedirect' config or or disable deprecation warnings
$this->loadComponent('RequestHandler', ['enableBeforeRedirect' => false]);
$this->loadComponent('Flash');
$this->loadComponent('CakeDC/Users.UsersAuth');
}
```