no message

This commit is contained in:
hellcat 2025-07-02 12:27:28 +08:00
parent fdb2b42182
commit 03d42176eb
2 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,7 @@ use function strlen;
use function strtolower; use function strtolower;
use function time; use function time;
use function trim; use function trim;
use App\Services\TomTool\VisitorCount;
final class AuthController extends BaseController final class AuthController extends BaseController
{ {
@ -45,6 +46,8 @@ final class AuthController extends BaseController
{ {
$captcha = []; $captcha = [];
VisitorCount::From();
if (Config::obtain('enable_login_captcha')) { if (Config::obtain('enable_login_captcha')) {
$captcha = Captcha::generate(); $captcha = Captcha::generate();
} }

View File

@ -935,7 +935,6 @@ final class Cron
Node::query()->update(['node_bandwidth' => 0]); Node::query()->update(['node_bandwidth' => 0]);
if ($sMsg) { if ($sMsg) {
// echo $sMsg;
(new Telegram())->send(0, $sMsg); (new Telegram())->send(0, $sMsg);
} }