mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
fix
This commit is contained in:
parent
87e0d34961
commit
37844c1bb4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user