/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/users/config
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/users/config/routes.php (1884B)
plugin('CakeDC/Users', ['path' => $baseUsersPath], function (RouteBuilder $routes) {
$routes->fallbacks('DashedRoute');
});
$routes->connect('/accounts/validate/*', [
'plugin' => 'CakeDC/Users',
'controller' => 'SocialAccounts',
'action' => 'validate'
]);
// Google Authenticator related routes
if (Configure::read('OneTimePasswordAuthenticator.login')) {
$routes->connect('/verify', UsersUrl::actionParams('verify'));
$routes->connect('/resetOneTimePasswordAuthenticator', UsersUrl::actionParams('resetOneTimePasswordAuthenticator'));
}
$routes->connect('/profile/*', UsersUrl::actionParams('profile'));
$routes->connect('/login', UsersUrl::actionParams('login'));
$routes->connect('/logout', UsersUrl::actionParams('logout'));
$routes->connect('/link-social/*', UsersUrl::actionParams('linkSocial'));
$routes->connect('/callback-link-social/*', UsersUrl::actionParams('callbackLinkSocial'));
$oauthPath = Configure::read('OAuth.path');
if (is_array($oauthPath)) {
$routes->scope('/auth', function (RouteBuilder $routes) use ($oauthPath) {
$routes->connect(
'/:provider',
$oauthPath,
['provider' => implode('|', array_keys(Configure::read('OAuth.providers')))]
);
});
}