mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-27 07:33:18 +02:00
12 lines
474 B
Diff
12 lines
474 B
Diff
--- 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;
|
|
}
|
|
|