srchub-old

srchub-old Commit Details


Date:2014-10-30 21:06:00 (10 years 1 month ago)
Author:Natalie Adams
Branch:default
Commit:5c2b18c35bc6
Parents: 196380cf92e8
Message:Fixing issue 59 with blank passwords being accepted

Changes:
Mindefero/src/IDF/Form/UserAccount.php (1 diff)

File differences

indefero/src/IDF/Form/UserAccount.php
473473
474474
475475
476
476
477
477478
478479
479480
public function clean()
{
if (!isset($this->errors['password'])
&& !isset($this->errors['password2'])) {
&& !isset($this->errors['password2'])
&& strlen($this->cleaned_data["password"] > 0)) {
$password1 = $this->cleaned_data['password'];
$password2 = $this->cleaned_data['password2'];
if ($password1 != $password2) {

Archive Download the corresponding diff file

Branches

Tags

Page rendered in 0.40948s using 20 queries.