]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
[fix] redirect on config page after token generation #491
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Sun, 23 Feb 2014 08:56:21 +0000 (09:56 +0100)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Sun, 23 Feb 2014 08:56:21 +0000 (09:56 +0100)
inc/poche/Poche.class.php

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