mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-12 10:31:09 +03:00
Fix "empty password" notification
This commit is contained in:
parent
c27a0e1aea
commit
9799fb5e3f
@ -228,7 +228,7 @@ class ProfileController extends AbstractController
|
|||||||
// to manually update them.
|
// to manually update them.
|
||||||
if ($target_operator['operatorid'] == $operator['operatorid']) {
|
if ($target_operator['operatorid'] == $operator['operatorid']) {
|
||||||
// Check if the admin has set his password for the first time.
|
// Check if the admin has set his password for the first time.
|
||||||
$to_dashboard = check_password_hash($login, '', $operator['vcpassword']) && $password != '';
|
$to_dashboard = check_password_hash($operator['vclogin'], '', $operator['vcpassword']) && $password != '';
|
||||||
|
|
||||||
// Update operator's fields.
|
// Update operator's fields.
|
||||||
$this->getAuthenticationManager()->setOperator($target_operator);
|
$this->getAuthenticationManager()->setOperator($target_operator);
|
||||||
|
Loading…
Reference in New Issue
Block a user