Ticket #8866: patch.diff
| File patch.diff, 748 bytes (added by , 17 years ago) |
|---|
-
user.php
148 148 $errors->add( 'pass', __( '<strong>ERROR</strong>: Please enter your password twice.' ), array( 'form-field' => 'pass2' ) ); 149 149 } 150 150 151 /* Check for "\" in password */152 if( strpos( " ".$pass1, "\\" ) )153 $errors->add( 'pass', __( '<strong>ERROR</strong>: Passwords may not contain the character "\\".' ), array( 'form-field' => 'pass1' ) );154 155 151 /* checking the password has been typed twice the same */ 156 152 if ( $pass1 != $pass2 ) 157 153 $errors->add( 'pass', __( '<strong>ERROR</strong>: Please enter the same password in the two password fields.' ), array( 'form-field' => 'pass1' ) );