M
M
Maxim Polyaev2020-04-29 13:10:48
PHP
Maxim Polyaev, 2020-04-29 13:10:48

Where does the attempt parameter come from in the request url?

I added route /admin to symfony, but when I go to https://mupexpress52.ru/admin from somewhere, the parameter ?attempt=1 appears, although it is not in the route

Ps parameter does not always appear

<?php
namespace App\Controller;

use App\Entity\ContactFeedback;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;

class IndexAdminController extends AbstractController
{
    /**
     * @Route("/admin", name="index_admin")
     */
    public function index()
    {
        return $this->render('index_admin/index/index.html.twig');
    }
}


5ea9526a5fabb895697470.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question