Compare commits

...

2 commits

Author SHA1 Message Date
Jannis Portmann cd9bc0cba3 Specify logout url 2023-04-04 23:08:10 +02:00
Jannis Portmann 393d5c0d45 Fix username display 2023-04-04 23:01:18 +02:00
2 changed files with 2 additions and 1 deletions

View file

@ -92,7 +92,7 @@
</li>
<hr class="d-lg-none">
<div class="d-flex flex-row">
{% if request.user %}
{% if request.user.is_authenticated %}
<li class="nav-item me-2 md-me-0">
<a href="{% url 'user_profile' %}">
<div class="nav-link mr-auto">

View file

@ -116,6 +116,7 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
LOGOUT_REDIRECT_URL = "/"
# Internationalization
# https://docs.djangoproject.com/en/4.1/topics/i18n/