Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(isJWT): fix validation issue in isJWT function (#2217)
* Update isJWT.js fix: Ensure isJWT returns false for 2 part invalid JWT tokens Previously, the isJWT function would return true for 2 part invalid JWT tokens. This has been fixed by updating the isJWT function to return false for such tokens. * Update validators.test.js Added test case for validating JSON web tokens (JWT) * Update validators.test.js Removed trailing spaces * Update validators.test.js Refactor tests in isjwt and remove redundant test case * Update validators.test.js Removed redundant test in isJWT
- Loading branch information