Skip to content

Firefly III: a personal finances manager

Added encryption to new password. See issue #118

James Cole5e3e9271caa1
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'));