diff --git a/components/Account.php b/components/Account.php index ca18422d..d50a6666 100644 --- a/components/Account.php +++ b/components/Account.php @@ -419,7 +419,7 @@ public function onUpdate() /* * Password has changed, reauthenticate the user */ - if (strlen($data['password'])) { + if (array_key_exists('password', $data) && strlen($data['password'])) { Auth::login($user->reload(), true); }