|
|
@@ -71,7 +71,6 @@ http.interceptors.response.use((response) => { |
|
|
|
* @returns <any>object |
|
|
|
*/ |
|
|
|
function decryptJWT(token) { |
|
|
|
console.log(token) |
|
|
|
token = token.replace(/_/g, "/").replace(/-/g, "+"); |
|
|
|
const json = decodeURIComponent(escape(window.atob(token.split(".")[1]))); |
|
|
|
return JSON.parse(json); |
|
|
|