diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-02-23 09:56:21 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2014-02-23 09:56:21 +0100 |
commit | 92fc97eeb3cbda0f7cee9b670c30bbf6b23b9e39 (patch) | |
tree | 111d70e2e2249f2a8283a80a745c6fc218ec10b8 /inc/poche | |
parent | 48e063904d70d658b73a1f73dee07df8afb8afe8 (diff) | |
download | wallabag-92fc97eeb3cbda0f7cee9b670c30bbf6b23b9e39.tar.gz wallabag-92fc97eeb3cbda0f7cee9b670c30bbf6b23b9e39.tar.zst wallabag-92fc97eeb3cbda0f7cee9b670c30bbf6b23b9e39.zip |
[fix] redirect on config page after token generation #491
Diffstat (limited to 'inc/poche')
-rwxr-xr-x | inc/poche/Poche.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 34f2ff5a..8a9de488 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -1124,6 +1124,7 @@ class Poche | |||
1124 | $currentConfig = $_SESSION['poche_user']->config; | 1124 | $currentConfig = $_SESSION['poche_user']->config; |
1125 | $currentConfig['token'] = $token; | 1125 | $currentConfig['token'] = $token; |
1126 | $_SESSION['poche_user']->setConfig($currentConfig); | 1126 | $_SESSION['poche_user']->setConfig($currentConfig); |
1127 | Tools::redirect(); | ||
1127 | } | 1128 | } |
1128 | 1129 | ||
1129 | public function generateFeeds($token, $user_id, $tag_id, $type = 'home') | 1130 | public function generateFeeds($token, $user_id, $tag_id, $type = 'home') |