LoginController :: login
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | [
"PUBLIC_ACCESS"
] |
| _controller | "App\Controller\LoginController::login" |
| _firewall_context | "security.firewall.map.context.main" |
| _redirected | true |
| _route | "admin_login" |
| _route_params | [] |
| _stopwatch_token | "a7e3e9" |
Request Headers
| Header | Value |
|---|---|
| accept | "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" |
| accept-encoding | "gzip" |
| accept-language | "en" |
| cookie | "sf_redirect=%7B%22token%22%3A%222bbdfb%22%2C%22route%22%3A%22admin_dashboard%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CAdminController%22%2C%22method%22%3A%22index%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Ferp%5C%2Fsrc%5C%2FController%5C%2FAdminController.php%22%2C%22line%22%3A16%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=9ab87391b82f96c8da09b8bacf770045" |
| host | "51.75.27.240" |
| referer | "https://51.75.27.240/" |
| upgrade-insecure-requests | "1" |
| user-agent | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" |
| x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "no-cache, private" |
| content-type | "text/html; charset=UTF-8" |
| date | "Mon, 03 Aug 2026 18:42:52 GMT" |
| x-debug-token | "5a2bc9" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| PHPSESSID | "9ab87391b82f96c8da09b8bacf770045" |
| sf_redirect | "{"token":"2bbdfb","route":"admin_dashboard","method":"GET","controller":{"class":"App\\Controller\\AdminController","method":"index","file":"\/var\/www\/erp\/src\/Controller\/AdminController.php","line":16},"status_code":302,"status_text":"Found"}" |
Response Cookies
No response cookies
Session 4
Session Metadata
| Key | Value |
|---|---|
| Created | "Mon, 03 Aug 26 18:42:49 +0000" |
| Last used | "Mon, 03 Aug 26 18:42:49 +0000" |
| Lifetime | 0 |
Session Attributes
| Attribute | Value |
|---|---|
| _csrf/https-authenticate | "H4pxvpeE7oYMaJaew6O0JIjw9AUoqRa7fCWrCYWpzdE" |
| _security.main.target_path | "https://51.75.27.240/admin/" |
Session Usage
4
Usages
Stateless check enabled
| Usage |
|---|
Symfony\Component\Security\Http\Authentication\AuthenticationUtils:40
[
[
"file" => "/var/www/erp/vendor/symfony/security-http/Authentication/AuthenticationUtils.php"
"line" => 40
"function" => "has"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/erp/src/Controller/LoginController.php"
"line" => 16
"function" => "getLastAuthenticationError"
"class" => "Symfony\Component\Security\Http\Authentication\AuthenticationUtils"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "login"
"class" => "App\Controller\LoginController"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/Kernel.php"
"line" => 208
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/erp/public/index.php"
"line" => 5
"args" => [
"/var/www/erp/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Symfony\Component\Security\Http\Authentication\AuthenticationUtils:59
[
[
"file" => "/var/www/erp/vendor/symfony/security-http/Authentication/AuthenticationUtils.php"
"line" => 59
"function" => "get"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/erp/src/Controller/LoginController.php"
"line" => 19
"function" => "getLastUsername"
"class" => "Symfony\Component\Security\Http\Authentication\AuthenticationUtils"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "login"
"class" => "App\Controller\LoginController"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/Kernel.php"
"line" => 208
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/erp/public/index.php"
"line" => 5
"args" => [
"/var/www/erp/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage:79
[
[
"file" => "/var/www/erp/vendor/symfony/security-csrf/TokenStorage/SessionTokenStorage.php"
"line" => 79
"function" => "has"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/security-csrf/CsrfTokenManager.php"
"line" => 69
"function" => "hasToken"
"class" => "Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/form/FormRenderer.php"
"line" => 59
"function" => "getToken"
"class" => "Symfony\Component\Security\Csrf\CsrfTokenManager"
"type" => "->"
]
[
"file" => "/var/www/erp/var/cache/dev/twig/fb/fb17359e39931409525b9a7e9c04c54d.php"
"line" => 110
"function" => "renderCsrfToken"
"class" => "Symfony\Component\Form\FormRenderer"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/Template.php"
"line" => 411
"function" => "doDisplay"
"class" => "__TwigTemplate_fcd9729fbccbdebf9c7ee5b826e87581"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/Template.php"
"line" => 366
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/Template.php"
"line" => 381
"function" => "display"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/TemplateWrapper.php"
"line" => 51
"function" => "render"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/Environment.php"
"line" => 333
"function" => "render"
"class" => "Twig\TemplateWrapper"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 452
"function" => "render"
"class" => "Twig\Environment"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 457
"function" => "doRenderView"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 257
"function" => "doRender"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/erp/src/Controller/LoginController.php"
"line" => 20
"function" => "render"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "login"
"class" => "App\Controller\LoginController"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/Kernel.php"
"line" => 208
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/erp/public/index.php"
"line" => 5
"args" => [
"/var/www/erp/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage:69
[
[
"file" => "/var/www/erp/vendor/symfony/security-csrf/TokenStorage/SessionTokenStorage.php"
"line" => 69
"function" => "set"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/security-csrf/CsrfTokenManager.php"
"line" => 74
"function" => "setToken"
"class" => "Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/form/FormRenderer.php"
"line" => 59
"function" => "getToken"
"class" => "Symfony\Component\Security\Csrf\CsrfTokenManager"
"type" => "->"
]
[
"file" => "/var/www/erp/var/cache/dev/twig/fb/fb17359e39931409525b9a7e9c04c54d.php"
"line" => 110
"function" => "renderCsrfToken"
"class" => "Symfony\Component\Form\FormRenderer"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/Template.php"
"line" => 411
"function" => "doDisplay"
"class" => "__TwigTemplate_fcd9729fbccbdebf9c7ee5b826e87581"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/Template.php"
"line" => 366
"function" => "yield"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/Template.php"
"line" => 381
"function" => "display"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/TemplateWrapper.php"
"line" => 51
"function" => "render"
"class" => "Twig\Template"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/twig/twig/src/Environment.php"
"line" => 333
"function" => "render"
"class" => "Twig\TemplateWrapper"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 452
"function" => "render"
"class" => "Twig\Environment"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 457
"function" => "doRenderView"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/framework-bundle/Controller/AbstractController.php"
"line" => 257
"function" => "doRender"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/erp/src/Controller/LoginController.php"
"line" => 20
"function" => "render"
"class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 181
"function" => "login"
"class" => "App\Controller\LoginController"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/http-kernel/Kernel.php"
"line" => 208
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/erp/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/erp/public/index.php"
"line" => 5
"args" => [
"/var/www/erp/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| ADMIN_EMAIL_TO | "salah@scpr.tn;hichem@scpr.tn;salem.chtioui@gmail.com;salah.chtioui@gmail.com" |
| APP_ENV | "dev" |
| APP_SECRET | "50b363cc5d6b57a3682376080b2391be" |
| CAMPANYADDRESS | "KM71 GP1 Bouficha 4010 Sousse." |
| CAMPANYNAME | "SCPR : Société Chtioui des pièces de rechange" |
| COMPANYTVA | "1858099B/B/M/000" |
| COMPANYVILLE | "Bouficha" |
| COMPTABLE_ACTIVATION | "1" |
| COMPTABLE_EMAIL_BCC | "salah@scpr.tn;hichem@scpr.tn" |
| COMPTABLE_EMAIL_TO | "hichem@scpr.tn" |
| COMTABLE_ACTIVATION | "0" |
| CORS_ALLOW_ORIGIN | "^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$" |
| DATABASE_URL | "mysql://scprerp:T5vCZsJDvP@localhost:3306/scpr_erp?charset=utf8mb4" |
| DEVIS_FORM | "1" |
| DOUAN_ACTIVATION | "1" |
| EDIT_INLINE_PRICE | "0" |
| EMAIL_FROM | "webmaster@scpr.tn" |
| JWT_PASSPHRASE | "d73c483828ad85dac19d8664b512eacefa5eb1244272747c583a3d4e00bda22f" |
| JWT_PUBLIC_KEY | "%kernel.project_dir%/config/jwt/public.pem" |
| JWT_SECRET_KEY | "%kernel.project_dir%/config/jwt/private.pem" |
| MAILER_DSN | "smtp://salah@scpr.tn:VTufqCTPxBjcH8Zgqf@ssl0.ovh.net:587" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| PAIEMENT_IN_ORDER | "FACTURE" |
| PDF_LINE1 | "SCPR : Société Chtioui des pièces de rechange / KM71 GP1 Bouficha 4010 Sousse. Téléphone : 28 600 068 / 52 085 502 / Email : hichem@scpr.tn " |
| PDF_LINE2 | "Site web : www.scpr.tn / M.F. : 1858099B/B/M/000 / RIB (banque Zitouna) : 25139000005082914031" |
| PDF_LOGO | "/media/images/fulllogo.png" |
| REACT_APP_API_URL | "https://erp.scpr.tn/admin/api/" |
| SEND_COMMAND_EMAIL | "1" |
| SEND_MAX_COMMAND_EMAIL | "20" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTEXT_DOCUMENT_ROOT | "/var/www/erp/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/erp/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" |
| HTTP_ACCEPT_ENCODING | "gzip" |
| HTTP_ACCEPT_LANGUAGE | "en" |
| HTTP_COOKIE | "sf_redirect=%7B%22token%22%3A%222bbdfb%22%2C%22route%22%3A%22admin_dashboard%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CAdminController%22%2C%22method%22%3A%22index%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Ferp%5C%2Fsrc%5C%2FController%5C%2FAdminController.php%22%2C%22line%22%3A16%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=9ab87391b82f96c8da09b8bacf770045" |
| HTTP_HOST | "51.75.27.240" |
| HTTP_REFERER | "https://51.75.27.240/" |
| HTTP_UPGRADE_INSECURE_REQUESTS | "1" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_SCRIPT_URI | "https://51.75.27.240/admin/login" |
| REDIRECT_SCRIPT_URL | "/admin/login" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/admin/login" |
| REMOTE_ADDR | "79.127.221.66" |
| REMOTE_PORT | "60998" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1785782572 |
| REQUEST_TIME_FLOAT | 1785782572.0055 |
| REQUEST_URI | "/admin/login" |
| SCRIPT_FILENAME | "/var/www/erp/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://51.75.27.240/admin/login" |
| SCRIPT_URL | "/admin/login" |
| SERVER_ADDR | "51.75.27.240" |
| SERVER_ADMIN | "webmaster@localhost" |
| SERVER_NAME | "51.75.27.240" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "<address>Apache/2.4.52 (Ubuntu) Server at 51.75.27.240 Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.52 (Ubuntu)" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,CORS_ALLOW_ORIGIN,MESSENGER_TRANSPORT_DSN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,REACT_APP_API_URL,MAILER_DSN,PDF_LINE1,PDF_LINE2,PDF_LOGO,CAMPANYNAME,CAMPANYADDRESS,COMPANYVILLE,COMPANYTVA,DOUAN_ACTIVATION,COMTABLE_ACTIVATION,EMAIL_FROM,COMPTABLE_EMAIL_TO,COMPTABLE_EMAIL_BCC,SEND_COMMAND_EMAIL,SEND_MAX_COMMAND_EMAIL,DEVIS_FORM,EDIT_INLINE_PRICE,ADMIN_EMAIL_TO,PAIEMENT_IN_ORDER,COMPTABLE_ACTIVATION" |