[fix] redirect on config page after token generation #491

This commit is contained in:
Nicolas Lœuillet 2014-02-23 09:56:21 +01:00
parent 48e063904d
commit 92fc97eeb3

View file

@ -1124,6 +1124,7 @@ class Poche
$currentConfig = $_SESSION['poche_user']->config; $currentConfig = $_SESSION['poche_user']->config;
$currentConfig['token'] = $token; $currentConfig['token'] = $token;
$_SESSION['poche_user']->setConfig($currentConfig); $_SESSION['poche_user']->setConfig($currentConfig);
Tools::redirect();
} }
public function generateFeeds($token, $user_id, $tag_id, $type = 'home') public function generateFeeds($token, $user_id, $tag_id, $type = 'home')