mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-08 08:08:42 +01:00
Update UserController.php
This commit is contained in:
parent
b79d5905e2
commit
909bf9636b
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user