AuthenticationStep: Do not report a success if nothing has changed
This commit is contained in:
parent
0155599a1a
commit
eb4e56fbc0
|
@ -104,13 +104,13 @@ class AuthenticationStep extends Step
|
|||
'password' => $this->data['adminAccountData']['password'],
|
||||
'is_active' => true
|
||||
));
|
||||
$this->dbError = false;
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
$this->dbError = $e;
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->dbError = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue