mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
@@ -117,7 +117,7 @@ class Authenticator
|
||||
*/
|
||||
public function closeAccount()
|
||||
{
|
||||
$this->session->clear();
|
||||
$this->session->invalidate();
|
||||
$this->reinitUser();
|
||||
|
||||
return $this;
|
||||
|
@@ -631,7 +631,7 @@ class Login implements ControllerProviderInterface
|
||||
$app['dispatcher']->dispatch(PhraseaEvents::LOGOUT, new LogoutEvent($app));
|
||||
$app['authentication']->closeAccount();
|
||||
|
||||
$app->addFlash('info', 'Vous etes maintenant deconnecte. A bientot.');
|
||||
$app->addFlash('info', _('Vous etes maintenant deconnecte. A bientot.'));
|
||||
|
||||
$response = new RedirectResponse($app->path('root', array(
|
||||
'redirect' => $request->query->get("redirect")
|
||||
|
Reference in New Issue
Block a user