From fdff34093d479f1a9cb98107b68eb9137278b181 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 3 Jan 2012 09:56:19 +0000 Subject: - Move some checks into login() method --- index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 6f761a4ee..a2d012cc3 100644 --- a/index.php +++ b/index.php @@ -97,8 +97,7 @@ if ($RCMAIL->task == 'login' && $RCMAIL->action == 'login') { $OUTPUT->show_message("cookiesdisabled", 'warning'); } else if ($auth['valid'] && !$auth['abort'] && - !empty($auth['host']) && !empty($auth['user']) && - $RCMAIL->login($auth['user'], $auth['pass'], $auth['host']) + $RCMAIL->login($auth['user'], $auth['pass'], $auth['host']) ) { // create new session ID, don't destroy the current session // it was destroyed already by $RCMAIL->kill_session() above -- cgit v1.2.3