summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-07-08 11:53:52 +0200
committerAleksander Machniak <alec@alec.pl>2014-07-08 11:53:52 +0200
commitd19a9b35cc3fa0f25467107d55fbbd0ed4578cc4 (patch)
tree1ac52395df47233d6e69f5b9582a6bc0e026f8ad
parent43b225d18333530abf17f5ca39140d417cc69490 (diff)
Remove obsolete code that disables session check on 'send' action
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index ae5df4000..0b9e0bada 100644
--- a/index.php
+++ b/index.php
@@ -189,7 +189,7 @@ else if ($RCMAIL->task == 'logout' && isset($_SESSION['user_id'])
}
// 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;