fulviods Posted May 29, 2014 Share Posted May 29, 2014 Bonjour, Je voudrais dans la fonction protected function processSubmitLogin() modifier l'url de la redirection, qui correspond à l'url de destination après s'être logué. Si je fait la modification dans controllers/front/AuthController.php de la ligne en question (ligne 321) Tools::redirect('index.php?controller='.(($this->authRedirection !== false) ? urlencode($this->authRedirection) : 'my-account')); par mon url, tout fonctionne! J'ai donc voulu créer dans override/controllers/front/AuthController.php le fichier qui va modifier cette valeur...j y ai recopié le fichier avec ma modification mais ça ne fonctionne pas.J'y ai placé la fonction modifiée entre ces boucles : <?php protected function processSubmitLogin() { } } mais rien à faire..... comment dois-je faire ? Merci pour votre aide Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now