mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Added encryption to new password. See issue #118
This commit is contained in:
parent
1e603c0833
commit
5e3e9271ca
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user