From 5e3e9271caa186fd482a365c877b88191d774a4c Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 13 Nov 2015 06:59:08 +0100 Subject: [PATCH] Added encryption to new password. See issue #118 --- app/Http/Controllers/ProfileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 6acda3d570..71e3ffc473 100644 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -66,7 +66,7 @@ class ProfileController extends Controller } // update the user with the new password. - Auth::user()->password = $request->get('new_password'); + Auth::user()->password = bcrypt($request->get('new_password')); Auth::user()->save(); Session::flash('success', trans('firefly.password_changed'));