higher token live time, should fix #10

This commit is contained in:
jb-alvarado 2020-06-04 21:17:27 +02:00
parent e487aebc4e
commit e2367bb30b

View File

@ -90,7 +90,7 @@ AUTH_PASSWORD_VALIDATORS = [
# simple JWT auth settings
SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(minutes=120),
'ACCESS_TOKEN_LIFETIME': timedelta(hours=7),
'REFRESH_TOKEN_LIFETIME': timedelta(days=7),
}