no message
This commit is contained in:
parent
fdb2b42182
commit
03d42176eb
@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user