Added login to the application to make authenticated api requests.

This commit is contained in:
krzysiej
2022-06-20 15:05:27 +02:00
parent 4536195a4c
commit 00bb86f798
13 changed files with 230 additions and 9 deletions

View File

@@ -0,0 +1,27 @@
{% extends 'base.html.twig' %}
{% block title %}Hello IndexController!{% endblock %}
{% block body %}
<style>
.example-wrapper {
margin: 1em auto;
max-width: 800px;
width: 95%;
font: 18px/1.5 sans-serif;
}
.example-wrapper code {
background: #F5F5F5;
padding: 2px 6px;
}
</style>
<div id="app">
<loginform></loginform>
</div>
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('user') }}
{% endblock %}