mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-04-29 02:53:05 +00:00
🤖 Auto commit for release 'develop' on 2026-01-13
This commit is contained in:
@@ -37,6 +37,7 @@ use Illuminate\View\View;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
use FireflyIII\Support\Facades\FireflyConfig;
|
||||
use SensitiveParameter;
|
||||
|
||||
/**
|
||||
* Class ResetPasswordController
|
||||
@@ -97,7 +98,7 @@ class ResetPasswordController extends Controller
|
||||
// database. Otherwise, we will parse the error and return the response.
|
||||
$response = $this->broker()->reset(
|
||||
$this->credentials($request),
|
||||
function ($user, #[\SensitiveParameter] $password): void {
|
||||
function ($user, #[SensitiveParameter] $password): void {
|
||||
$this->resetPassword($user, $password);
|
||||
}
|
||||
);
|
||||
@@ -123,7 +124,7 @@ class ResetPasswordController extends Controller
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function showResetForm(Request $request, #[\SensitiveParameter] $token = null)
|
||||
public function showResetForm(Request $request, #[SensitiveParameter] $token = null)
|
||||
{
|
||||
if ('web' !== config('firefly.authentication_guard')) {
|
||||
$message = sprintf('Cannot reset password when authenticating over "%s".', config('firefly.authentication_guard'));
|
||||
|
||||
Reference in New Issue
Block a user