This commit is contained in:
Tokumeikoi 2020-02-05 21:09:33 +08:00
parent 87e0d34961
commit 37844c1bb4

View File

@ -14,7 +14,7 @@ class ClientController extends Controller
{
$user = $request->user;
$server = [];
if ($user->expired_at > time()) {
if ($user->expired_at > time() && !$user->banned) {
$servers = Server::where('show', 1)
->orderBy('name')
->get();