mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Add some tests.
This commit is contained in:
@@ -57,8 +57,8 @@ class ProfileController extends BaseController
|
||||
}
|
||||
|
||||
// update the user with the new password.
|
||||
/** @var \FireflyIII\Database\User $repository */
|
||||
$repository = \App::make('FireflyIII\Database\User');
|
||||
/** @var \FireflyIII\Database\User\User $repository */
|
||||
$repository = \App::make('FireflyIII\Database\User\User');
|
||||
$repository->updatePassword(Auth::user(), Input::get('new1'));
|
||||
|
||||
Session::flash('success', 'Password changed!');
|
||||
|
Reference in New Issue
Block a user