From 9a07cc83d1c43357fef41a08cbb83547ac12fd05 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 4 Feb 2016 11:11:38 -0500 Subject: [PATCH] fix password hashing bug; closes #53 --- app/Repositories/UserRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);