Added encryption to new password. See issue #118

This commit is contained in:
James Cole 2015-11-13 06:59:08 +01:00
parent 1e603c0833
commit 5e3e9271ca

View File

@ -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'));