mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-08 09:37:14 +02:00
Update to 2024-04-29 15:01
This commit is contained in:
11
roles/kimai/files/kimai_empty_authorization.patch
Normal file
11
roles/kimai/files/kimai_empty_authorization.patch
Normal 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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user