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