diff --git a/application/config/packages/security.yaml b/application/config/packages/security.yaml index f3ae882..6649883 100644 --- a/application/config/packages/security.yaml +++ b/application/config/packages/security.yaml @@ -8,7 +8,6 @@ security: entity: class: App\Entity\User property: username - #in_memory: { memory: ~ } firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ diff --git a/application/templates/frames/default.html.twig b/application/templates/frames/default.html.twig index 60f05a8..348c5cf 100644 --- a/application/templates/frames/default.html.twig +++ b/application/templates/frames/default.html.twig @@ -1,6 +1,7 @@ {% extends "base.html.twig" %} {% block body %} {% include 'frames/structure/navbar.html.twig'%} +{% include 'frames/structure/message/flash_messages.html.twig'%}
{% block content %} diff --git a/application/templates/frames/structure/message/flash_messages.html.twig b/application/templates/frames/structure/message/flash_messages.html.twig new file mode 100644 index 0000000..9a5368c --- /dev/null +++ b/application/templates/frames/structure/message/flash_messages.html.twig @@ -0,0 +1,5 @@ +{% for message in app.flashes('notice') %} +
+ {{ message }} +
+{% endfor %} \ No newline at end of file diff --git a/application/templates/user/login.html.twig b/application/templates/user/login.html.twig index 47b76f0..bc69851 100644 --- a/application/templates/user/login.html.twig +++ b/application/templates/user/login.html.twig @@ -6,16 +6,16 @@

{% trans %}login{% endtrans %}

-
+