You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments