Changeset f15c268 in github


Ignore:
Timestamp:
Apr 11, 2007 3:28:55 PM (6 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
9e5d051
Parents:
fd39346
Message:

Don't allow empty user names but empty passwords

File:
1 edited

Legend:

Unmodified
Added
Removed
  • index.php

    raad6e2a rf15c268  
    33 +-----------------------------------------------------------------------+ 
    44 | RoundCube Webmail IMAP Client                                         | 
    5  | Version 0.1-20070327                                                  | 
     5 | Version 0.1-20070411                                                  | 
    66 |                                                                       | 
    77 | Copyright (C) 2005-2007, RoundCube Dev. - Switzerland                 | 
     
    4141*/ 
    4242 
    43 define('RCMAIL_VERSION', '0.1-20070327'); 
     43define('RCMAIL_VERSION', '0.1-20070411'); 
    4444 
    4545// define global vars 
     
    173173    show_message("cookiesdisabled", 'warning'); 
    174174    } 
    175   else if ($_SESSION['temp'] && isset($_POST['_user']) && isset($_POST['_pass']) && 
     175  else if ($_SESSION['temp'] && !empty($_POST['_user']) && isset($_POST['_pass']) && 
    176176           rcmail_login(get_input_value('_user', RCUBE_INPUT_POST), 
    177177              get_input_value('_pass', RCUBE_INPUT_POST, true, 'ISO-8859-1'), $host)) 
Note: See TracChangeset for help on using the changeset viewer.