Skip to content

Commit 683bb2b

Browse files
committed
allow jwt to be unset
1 parent 8814b3e commit 683bb2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utils/DPop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class DPop {
1818
public function getWebId($request) {
1919
$auth = explode(" ", $request->getServerParams()['HTTP_AUTHORIZATION']);
20-
$jwt = $auth[1];
20+
$jwt = $auth[1] ?? false;
2121

2222
if (strtolower($auth[0]) == "dpop") {
2323
$dpop = $request->getServerParams()['HTTP_DPOP'];

0 commit comments

Comments
 (0)