Permalink
Browse files

* committed patch from #1484231

  • Loading branch information...
till committed Mar 22, 2008
1 parent b5c2469 commit d7a2878d09f49c70cc065431280c4449c48f54a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.php
View
@@ -160,7 +160,7 @@
$OUTPUT->show_message("cookiesdisabled", 'warning');
}
else if ($_SESSION['temp'] && !empty($_POST['_user']) && isset($_POST['_pass']) &&
- rcmail_login(get_input_value('_user', RCUBE_INPUT_POST),
+ rcmail_login(trim(get_input_value('_user', RCUBE_INPUT_POST), ' '),
get_input_value('_pass', RCUBE_INPUT_POST, true, 'ISO-8859-1'), $host))
{
// create new session ID

0 comments on commit d7a2878

Please sign in to comment.