fix forget

This commit is contained in:
Tokumeikoi
2020-02-07 19:34:24 +08:00
parent 37844c1bb4
commit 62f7d5b3e8
2 changed files with 4 additions and 0 deletions

View File

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