mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-13 08:52:05 -05:00
Added encryption to new password. See issue #118
This commit is contained in:
1 parent
1e603c0833
commit
5e3e9271ca
1 file changed
+1
-1
@@ -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'));
|
||||
|
||||
Reference in new issue
Block a user