Skip to content

Commit d5c490f

Browse files
committed
Fix bug caused by calling non-existent class member.
1 parent 2255946 commit d5c490f

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
@@ -230,7 +230,7 @@ private function getSubjectFromJwt($jwt) {
230230
try {
231231
$jwt = $jwtConfig->parser()->parse($jwt);
232232
} catch(\Exception $e) {
233-
return $this->server->getResponse()->withStatus(409, "Invalid JWT token");
233+
throw new \Exception("Invalid JWT token", 409, $e);
234234
}
235235

236236
$sub = $jwt->claims()->get("sub");

0 commit comments

Comments
 (0)