You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/app/Http/Middleware
Your Name ffcef3eb2d fix: replace Auth facade with $request->user() in request-scoped classes
Replace Auth::user() with $request->user() and Auth::check() with
$request->user() !== null (or ! $request->user()) across all
controllers and middleware that have access to the request object.

This resolves 99 larastan.noAuthFacadeInRequestScope errors and
improves Octane compatibility.

For protected helper methods without $request in scope, uses the
request() helper instead.

Methods that previously lacked a Request parameter but used Auth
facade now accept Request $request via Laravel's auto-injection.
4 weeks ago
..
Api fix: replace Auth facade with $request->user() in request-scoped classes 4 weeks ago
AccountInterstitial.php fix: replace Auth facade with $request->user() in request-scoped classes 4 weeks ago
Admin.php fix: replace Auth facade with $request->user() in request-scoped classes 4 weeks ago
DangerZone.php fix: replace Auth facade with $request->user() in request-scoped classes 4 weeks ago
DeprecatedEndpoint.php Lint 9 months ago
EmailVerificationCheck.php Lint 3 months ago
FrameGuard.php Lint 9 months ago
Localization.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago
RedirectIfAuthenticated.php Lint 9 months ago
RestrictedAccess.php Update allowed routes for restricted access middleware 4 weeks ago
TwoFactorAuth.php refactor: replace short facade aliases with fully-qualified imports 4 weeks ago