Update UserController.php

This commit is contained in:
Julian Prieber 2023-10-08 17:54:53 +02:00
parent b79d5905e2
commit 909bf9636b
1 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,10 @@ class UserController extends Controller
return abort(404); return abort(404);
} }
if (empty($user)) {
return abort(404);
}
return redirect(url('@'.$user)); return redirect(url('@'.$user));
} }