From c70749a61392eae042f40ce63de34b6359deb3f8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Noack?= <noack@data-quest.de>
Date: Fri, 3 Jan 2025 09:26:40 +0000
Subject: [PATCH] Resolve #5055  "Download von Dateien ist kaputt"

Closes #5055

Merge request studip/studip!3797
---
 public/sendfile.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public/sendfile.php b/public/sendfile.php
index 6c5d120e30f..b9832a3cd44 100644
--- a/public/sendfile.php
+++ b/public/sendfile.php
@@ -43,6 +43,7 @@ $sess = sess();
 $auth = auth();
 $auth->setNobody(true);
 $sess->start();
+$auth->start();
 
 //Load plugins, unless they are disabled via an URL parameter.
 if (Request::int('disable_plugins') !== null && ($GLOBALS['user']->id === 'nobody' || $GLOBALS['perm']->have_perm('root'))) {
-- 
GitLab