Project

General

Profile

Bug #21362 ยป 0012343.patch

Administrator Admin, 2009-10-26 11:51

View differences:

typo3/sysext/install/mod/class.tx_install.php (working copy)
if ($whichTables['be_users']) {
if (is_array($this->INSTALL['database_adminUser'])) {
$username = preg_replace('/[^\da-z._-]/i', '', trim($this->INSTALL['database_adminUser']['username']));
$pass = trim($this->INSTALL['database_adminUser']['password2']);
if ($username && $pass) {
if ($pass != trim($this->INSTALL['database_adminUser']['password'])) {
$pass = trim($this->INSTALL['database_adminUser']['password']);
$pass2 = trim($this->INSTALL['database_adminUser']['password2']);
if ($username && $pass && $pass2) {
if ($pass != $pass2) {
$this->message($headCode, 'Passwords are not equal!', '
The passwords entered twice are not equal.',2,1);
} else {
......
The username, <strong>'.htmlspecialchars($username).'</strong>, was not unique.',2,1);
}
}
} else {
$this->message($headCode,'Missing data!','
Not all required form fields have been filled.',2,1);
}
}
$content = '
    (1-1/1)