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'],
|
'password' => $this->data['adminAccountData']['password'],
|
||||||
'is_active' => true
|
'is_active' => true
|
||||||
));
|
));
|
||||||
|
$this->dbError = false;
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->dbError = $e;
|
$this->dbError = $e;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->dbError = false;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue