Fixed CSRF-related issues and profilepictures by starting caddy for development server too. Also improved boostrap script. #15 #16

This commit is contained in:
ChaoticByte 2023-02-11 18:04:52 +01:00
parent 5572fec9c1
commit 01aa31a8a1
8 changed files with 99 additions and 41 deletions

View file

@ -3,7 +3,7 @@
<div class="userpanel">
<div class="userinfo">
<img src="/profilepictures?name={{ user.profile_picture_filename|urlencode }}">
<img src="/profilepictures/{{ user.profile_picture_filename|urlencode }}">
<span>
{% if user.first_name != "" %}
{% translate "User" %}: {{ user.first_name }} {{ user.last_name }} ({{ user.username }})