1
0
Fork 0

Update SpaController, fix variable typo. Fixes #3268

This commit is contained in:
Daniel Supernault 2022-02-19 12:42:16 -07:00
parent 1a7a4a052f
commit 8d1af1d6a1
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class SpaController extends Controller
public function usernameRedirect(Request $request, $username) public function usernameRedirect(Request $request, $username)
{ {
abort_unless($req->user(), 404); abort_unless($request->user(), 404);
$id = AccountService::usernameToId($username); $id = AccountService::usernameToId($username);
if(!$id) { if(!$id) {
return redirect('/i/web/404'); return redirect('/i/web/404');