fixing token redirect

This commit is contained in:
2026-01-09 11:06:05 +07:00
parent b680a249d5
commit 8e0dc4bb88
2 changed files with 6 additions and 2 deletions

View File

@@ -104,6 +104,8 @@ class AuthController {
const bytes = CryptoJS.AES.decrypt(tokenRedirect, process.env.VITE_KEY_SESSION);
const decrypted = JSON.parse(bytes.toString(CryptoJS.enc.Utf8));
console.log("decrypted: ", decrypted);
const userPhone = decrypted?.user_phone
const userName = decrypted?.user_name
const idData = decrypted?.id