Update: 2026-07-21 20:50:03

This commit is contained in:
Hamza-Ayed
2026-07-21 20:50:04 +03:00
parent bb3536aa90
commit 586deec4f4
4 changed files with 11 additions and 11 deletions
@@ -127,8 +127,8 @@ class LoginController extends GetxController {
if (jwt != null) {
// نشفر الـ JWT بالتشفير الثلاثي قبل التخزين في GetStorage
box.write(BoxName.jwt, (jwt));
storage.write(key: BoxName.jwt, value: (jwt));
box.write(BoxName.jwt, c(jwt));
storage.write(key: BoxName.jwt, value: c(jwt));
}
await EncryptionHelper.initialize();
@@ -159,8 +159,8 @@ class LoginController extends GetxController {
: decoded['jwt']);
if (jwt != null) {
box.write(BoxName.jwt, (jwt));
storage.write(key: BoxName.jwt, value: (jwt));
box.write(BoxName.jwt, c(jwt));
storage.write(key: BoxName.jwt, value: c(jwt));
}
}
}
@@ -499,8 +499,8 @@ class LoginController extends GetxController {
// حفظ التوكن
if (jwt != null) {
box.write(BoxName.jwt, (jwt));
await storage.write(key: BoxName.jwt, value: (jwt));
box.write(BoxName.jwt, c(jwt));
await storage.write(key: BoxName.jwt, value: c(jwt));
}
box.write(BoxName.isVerified, '1');