mirror of https://github.com/pixelfed/pixelfed
Fix larastan noAuthFacadeInRequestScope in LoginController
Replace Auth::check() with $request->user() !== null in confirmEmail(), which already has the request in scope, and drop the now-unused Auth facade import. Resolves the 2 remaining project-wide larastan errors.pull/7175/head
parent
f467dc04d5
commit
10559c23e3
Loading…
Reference in New Issue