|
|
@@ -77,8 +77,8 @@ function parseCookies(cookieString) {
|
|
|
|
|
|
function parseBase64(base64Str){
|
|
|
let CryptoJS = createCryptoJS();
|
|
|
- let hexStr = CryptoJS.enc.Base64.parse(base64Str);
|
|
|
- return CryptoJS.enc.Hex.parse(hexStr);
|
|
|
+ let words = CryptoJS.enc.Base64.parse(base64Str);
|
|
|
+ return CryptoJS.enc.Utf8.stringify(words);
|
|
|
}
|
|
|
|
|
|
function parseJwt(token) {
|