diff --git a/src/Http/Controllers/UserController.php b/src/Http/Controllers/UserController.php index 7a100d935..e0af38487 100644 --- a/src/Http/Controllers/UserController.php +++ b/src/Http/Controllers/UserController.php @@ -173,7 +173,7 @@ public function form() $form->disableDeleteButton(); } })->saving(function (Form $form) { - if ($form->password && $form->model()->get('password') != $form->password) { + if ($form->password && $form->model()->password != $form->password) { $form->password = bcrypt($form->password); }