From edc0cdfd5dc52c9797197a5d8eaadc374db957af Mon Sep 17 00:00:00 2001 From: Simon Kuehn Date: Sun, 17 May 2026 18:42:32 +0000 Subject: [PATCH] fix: rename login field from 'email' to '_username' Symfony FormLoginAuthenticator expects _username by default. The field used name="email" which caused 400 Bad Request on submit. Co-Authored-By: Claude Sonnet 4.6 --- templates/security/login.html.twig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/security/login.html.twig diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig new file mode 100644 index 0000000..ceaee66 --- /dev/null +++ b/templates/security/login.html.twig @@ -0,0 +1,24 @@ +{% extends 'base.html.twig' %} + +{% block title %}Login{% endblock %} + +{% block body %} +
+

SuperSeller Login

+ {% if error %} +
{{ error.messageKey|trans(error.messageData, 'security') }}
+ {% endif %} +
+
+
+ +
+
+
+ +
+ + +
+
+{% endblock %}