From d19a9b35cc3fa0f25467107d55fbbd0ed4578cc4 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 08 Jul 2014 05:53:52 -0400 Subject: [PATCH] Remove obsolete code that disables session check on 'send' action --- index.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/index.php b/index.php index ae5df40..0b9e0ba 100644 --- a/index.php +++ b/index.php @@ -189,7 +189,7 @@ } // check session and auth cookie -else if ($RCMAIL->task != 'login' && $_SESSION['user_id'] && $RCMAIL->action != 'send') { +else if ($RCMAIL->task != 'login' && $_SESSION['user_id']) { if (!$RCMAIL->session->check_auth()) { $RCMAIL->kill_session(); $session_error = true; -- Gitblit v1.9.1