From 9a50a902801477f72990fbbc17f99041f3245583 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Thu, 4 Jan 2024 10:45:18 +0000
Subject: [PATCH] fixes #3609

Closes #3609

Merge request studip/studip!2500
---
 lib/classes/CSRFProtection.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/classes/CSRFProtection.php b/lib/classes/CSRFProtection.php
index 56d6e4cc836..9afc6239d2e 100644
--- a/lib/classes/CSRFProtection.php
+++ b/lib/classes/CSRFProtection.php
@@ -69,7 +69,7 @@ class CSRFProtection
                 throw new SessionRequiredException();
             }
 
-            self::$storage = $_SESSION;
+            self::$storage =& $_SESSION;
         }
         return self::$storage;
     }
-- 
GitLab