Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-07-08 13:53:52 +0400
committerAleksander Machniak <alec@alec.pl>2014-07-08 13:53:52 +0400
commitd19a9b35cc3fa0f25467107d55fbbd0ed4578cc4 (patch)
tree1ac52395df47233d6e69f5b9582a6bc0e026f8ad /index.php
parent43b225d18333530abf17f5ca39140d417cc69490 (diff)
Remove obsolete code that disables session check on 'send' action
Diffstat (limited to 'index.php')
-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;