Skip to content

Commit

Permalink
fix: space in token causes 404 on logout
Browse files Browse the repository at this point in the history
Signed-off-by: Hamza Mahjoubi <[email protected]>
  • Loading branch information
hamza221 committed Aug 28, 2024
1 parent 7e41c26 commit f49c4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/helpers/modules/cookieHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const deleteCookieByValue = (searchValue) => {

if (cookieValue === searchValue) {
deleteCookie(cookieName)
return cookieName
return cookieName.trim()
}
}

Expand Down

0 comments on commit f49c4f0

Please sign in to comment.