Changeset 25121 for trunk/register.php
- Timestamp:
- Oct 24, 2013, 7:55:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/register.php
r25116 r25121 48 48 } 49 49 50 if ($_POST['password'] != $_POST['password_conf'])50 if(empty($_POST['password'])) 51 51 { 52 $page['errors'][] = l10n('please enter your password again'); 52 $page['errors'][] = l10n('Password is missing. Please enter the password.'); 53 } 54 else if(empty($_POST['password_conf'])) 55 { 56 $page['errors'][] = l10n('Password confirmation is missing. Please confirm the chosen password.'); 57 } 58 else if ($_POST['password'] != $_POST['password_conf']) 59 { 60 $page['errors'][] = l10n('The passwords do not match'); 53 61 } 54 62
Note: See TracChangeset
for help on using the changeset viewer.