This commit is contained in:
Nukeap committed 2024-06-07 15:45:37 +03:00
1 parent 0f8588fc0f
commit f3da32cea2
5 files changed
+177 -23

No files matched your search

+2 -2
View File
@@ -189,8 +189,8 @@ from datetime import timedelta
SIMPLE_JWT = {
"ACCESS_TOKEN_LIFETIME": timedelta(minutes=30),
"REFRESH_TOKEN_LIFETIME": timedelta(days=1),
"ACCESS_TOKEN_LIFETIME": stngs.access_token_lifetime,
"REFRESH_TOKEN_LIFETIME": stngs.refresh_token_lifetime,
"ROTATE_REFRESH_TOKENS": False,
"BLACKLIST_AFTER_ROTATION": False,
"UPDATE_LAST_LOGIN": False,