mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-13 17:55:27 -04:00
Change to JWT Decode to include header
This commit is contained in:
parent
411f78d27a
commit
2058f8a1eb
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ class JWTDecode extends Operation {
|
|||
json: true,
|
||||
complete: true
|
||||
});
|
||||
|
||||
return decoded.payload;
|
||||
|
||||
return {header: decoded.header, payload: decoded.payload};
|
||||
} catch (err) {
|
||||
throw new OperationError(err);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue