Ignore:
Timestamp:
Apr 27, 2007, 7:24:01 AM (18 years ago)
Author:
rub
Message:

Issue 0000682: Error on user registration
On register page when the 2 passwords are not the same, an error occurs but user is also created.

=> Just error must be raised.

Merge BSF 1984:1985 into branch-1_7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_7/include/functions_user.inc.php

    r1933 r1986  
    4545}
    4646
    47 function register_user($login, $password, $mail_address)
     47function register_user($login, $password, $mail_address, $errors = array())
    4848{
    4949  global $lang, $conf;
    5050
    51   $errors = array();
    5251  if ($login == '')
    5352  {
Note: See TracChangeset for help on using the changeset viewer.