Dynamically calculate expiration date 90 days out instead of hardcoded.

This commit is contained in:
SergeantPanda 2025-08-28 15:12:13 -05:00
parent 5c6d1fe6fd
commit 62c4e1625b

View file

@ -729,10 +729,10 @@ def xc_get_info(request, full=False):
"user_info": {
"username": request.GET.get("username"),
"password": request.GET.get("password"),
"message": "",
"message": "Dispatcharr XC API",
"auth": 1,
"status": "Active",
"exp_date": "1715062090",
"exp_date": str(int(time.time()) + (90 * 24 * 60 * 60)),
"max_connections": "99",
"allowed_output_formats": [
"ts",