Changeset 634

Show
Ignore:
Timestamp:
06/01/07 20:01:11 (2 years ago)
Author:
rats
Message:

Fixed #279: '-' and '_' not allowed in e-mail passwords

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gui/client/add_mail_acc.php

    r633 r634  
    432432        } 
    433433        // Not permitted chars 
    434         if (!preg_match("/^([a-zA-Z0-9@*#!;.+%§=-_]{6,50})$/", $pass)) { 
     434        if (!preg_match("/^([a-zA-Z0-9@*#!;.+%§=\-_]{6,50})$/", $pass)) { 
    435435            set_page_message(tr('Password data includes not permitted signs!')); 
    436436            return;