feat: save torbox token

This commit is contained in:
Zamitto 2025-02-01 16:47:10 -03:00
parent e3b9b16387
commit d8e322e022
8 changed files with 27 additions and 19 deletions

View file

@ -15,6 +15,12 @@ const getUserPreferences = async () =>
);
}
if (userPreferences?.torBoxApiToken) {
userPreferences.torBoxApiToken = Crypto.decrypt(
userPreferences.torBoxApiToken
);
}
return userPreferences;
});