diff --git a/app/Repositories/UserRepository.php b/app/Repositories/UserRepository.php index 746fd19c2..d17732b5e 100644 --- a/app/Repositories/UserRepository.php +++ b/app/Repositories/UserRepository.php @@ -124,7 +124,7 @@ class UserRepository } if(array_key_exists('password', $data)) { - $user['password'] = Hash::make($data['password']); + $data['password'] = Hash::make($data['password']); } return Models\User::findOrFail($id)->update($data);