diff options
author | alecpl <alec@alec.pl> | 2012-01-03 09:56:19 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-01-03 09:56:19 +0000 |
commit | fdff34093d479f1a9cb98107b68eb9137278b181 (patch) | |
tree | 1b4bf795e7357de7e7c4caf6938811ab7fdcf974 /index.php | |
parent | cc75440de24b90028e2843598b2f62c664bfe4f5 (diff) |
- Move some checks into login() method
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |