mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Dynamically calculate expiration date 90 days out instead of hardcoded.
This commit is contained in:
parent
5c6d1fe6fd
commit
62c4e1625b
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue