change SIGNING_KEY in settings

This commit is contained in:
2025-05-04 15:52:38 +03:30
parent eab6bcbc13
commit ef77146289

View File

@@ -13,9 +13,7 @@ import os.path
from pathlib import Path
from datetime import timedelta
from django.conf import settings
import django
django.setup()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
@@ -117,7 +115,7 @@ SIMPLE_JWT = {
"UPDATE_LAST_LOGIN": False,
"ALGORITHM": "HS256",
"SIGNING_KEY": settings.SECRET_KEY,
"SIGNING_KEY": 'django-insecure-@0apn-lk85pfw=z00x2ib$w9#rwz8%2v4i_n^^9jz-m9b+y55*',
"VERIFYING_KEY": "",
"AUDIENCE": None,
"ISSUER": None,