mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
🤖 Auto commit for release 'develop' on 2025-11-09
This commit is contained in:
@@ -68,7 +68,7 @@ class LoginController extends Controller
|
||||
protected string $redirectTo = RouteServiceProvider::HOME;
|
||||
private UserRepositoryInterface $repository;
|
||||
|
||||
private string $username = 'email';
|
||||
private string $username = 'email';
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
@@ -222,7 +222,7 @@ class LoginController extends Controller
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function showLoginForm(Request $request): Redirector|RedirectResponse|Factory|View
|
||||
public function showLoginForm(Request $request): Factory|Redirector|RedirectResponse|View
|
||||
{
|
||||
Log::channel('audit')->info('Show login form (1.1).');
|
||||
|
||||
|
||||
@@ -114,6 +114,7 @@ class ResetPasswordController extends Controller
|
||||
*
|
||||
* If no token is present, display the link request form.
|
||||
*
|
||||
* @param null|mixed $token
|
||||
*
|
||||
* @return Factory|View
|
||||
*
|
||||
|
||||
@@ -59,7 +59,6 @@ class TwoFactorController extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
@@ -211,6 +210,7 @@ class TwoFactorController extends Controller
|
||||
if (!is_array($list)) {
|
||||
$list = [];
|
||||
}
|
||||
|
||||
return in_array($mfaCode, $list, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user