Update SpaController, fix variable typo. Fixes #3268
This commit is contained in:
parent
1a7a4a052f
commit
8d1af1d6a1
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue