Update to 2024-04-29 15:01

This commit is contained in:
Daniel Berteaud
2024-04-29 15:01:11 +02:00
parent cdd8b6b638
commit f51f6fd9bc
6 changed files with 23 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
--- src/API/Authentication/ApiRequestMatcher.php.orig 2024-04-29 13:28:50.876284724 +0200
+++ src/API/Authentication/ApiRequestMatcher.php 2024-04-29 13:29:14.366580152 +0200
@@ -27,7 +27,7 @@
}
// let's use this firewall if a Bearer token is set in the header
- if ($request->headers->has('Authorization')) {
+ if ($request->headers->has('Authorization') && $request->headers->get('Authorization') != "") {
return true;
}