diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-17 14:59:02 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-17 14:59:02 +0000 |
commit | 5dabb62d678b8a3db4ea8600916fd95225e0ddf6 (patch) | |
tree | 21f7324f92eb048ee6562fa6d9976a5b68bd7f77 /engine/lib | |
parent | 0056e5cfe5c588907b1d7e2b7c050176bb5e3afa (diff) | |
download | elgg-5dabb62d678b8a3db4ea8600916fd95225e0ddf6.tar.gz elgg-5dabb62d678b8a3db4ea8600916fd95225e0ddf6.tar.bz2 |
Fixes #1527: Logout doens't require an action token. This is a temporary fix until #1509 is implemented.
git-svn-id: http://code.elgg.org/elgg/trunk@3943 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/actions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php index bd3bdb80a..278194ac3 100644 --- a/engine/lib/actions.php +++ b/engine/lib/actions.php @@ -29,7 +29,8 @@ function action($action, $forwarder = "") { // UI without tokens. (And for installation because of session_id problems) $exceptions = array( 'systemsettings/install', - 'admin/plugins/disable' + 'admin/plugins/disable', + 'logout' ); if (!in_array($action, $exceptions)) { |