thomascube
2007-10-16 b9183e5fd4ae3c54aad3e55675dc0275ac14fe38
Use common function to mark the user session as not logged in

1 files modified
4 ■■■■ changed files
index.php 4 ●●●● patch | view | raw | blame | history
index.php
@@ -173,7 +173,7 @@
  else
  {
    $OUTPUT->show_message("loginfailed", 'warning');
    $_SESSION['user_id'] = '';
    rcmail_kill_session();
  }
}
@@ -202,7 +202,7 @@
  if (!$conn)
  {
    $OUTPUT->show_message('imaperror', 'error');
    $_SESSION['user_id'] = '';
    rcmail_kill_session();
  }
  else
    rcmail_set_imap_prop();