We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8814b3e commit 683bb2bCopy full SHA for 683bb2b
1 file changed
src/Utils/DPop.php
@@ -17,7 +17,7 @@
17
class DPop {
18
public function getWebId($request) {
19
$auth = explode(" ", $request->getServerParams()['HTTP_AUTHORIZATION']);
20
- $jwt = $auth[1];
+ $jwt = $auth[1] ?? false;
21
22
if (strtolower($auth[0]) == "dpop") {
23
$dpop = $request->getServerParams()['HTTP_DPOP'];
0 commit comments