From 8d1af1d6a1fe523d6caddbba6c18ade6e02162a9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 19 Feb 2022 12:42:16 -0700 Subject: [PATCH] Update SpaController, fix variable typo. Fixes #3268 --- app/Http/Controllers/SpaController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SpaController.php b/app/Http/Controllers/SpaController.php index f0c26d79..664286f7 100644 --- a/app/Http/Controllers/SpaController.php +++ b/app/Http/Controllers/SpaController.php @@ -119,7 +119,7 @@ class SpaController extends Controller public function usernameRedirect(Request $request, $username) { - abort_unless($req->user(), 404); + abort_unless($request->user(), 404); $id = AccountService::usernameToId($username); if(!$id) { return redirect('/i/web/404');