fix login screen

This commit is contained in:
Tykayn 2024-07-15 23:09:52 +02:00 committed by tykayn
parent c55d5766b1
commit c34a2c16d9
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@
</head> </head>
<body> <body>
<div id="main_content"> <div id="main_content">
{% import 'nav' %} {% include 'common/nav.html.twig' %}
{% block body %}{% endblock %} {% block body %}{% endblock %}
</div> </div>
</body> </body>

View File

@ -7,8 +7,8 @@
{{ app.user.userIdentifier }}, <a href="{{ path('app_logout') }}">Logout</a> {{ app.user.userIdentifier }}, <a href="{{ path('app_logout') }}">Logout</a>
</div> </div>
{% else %} {% else %}
<a href="{{path('login')}}">Login</a> <a href="{{path('app_login')}}">Login</a>
{% endif %} {% endif %}
<a href="{{path('admin')}}">Admin</a> {# <a href="{{path('admin')}}">Admin</a>#}
</nav> </nav>
</div> </div>

View File

@ -9,7 +9,7 @@
</style> </style>
<div class="example-wrapper"> <div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1> <h1>Hello ! ✅</h1>
This friendly message is coming from: This friendly message is coming from:
<ul> <ul>