higher token livetime

This commit is contained in:
jb-alvarado 2020-06-02 21:16:02 +02:00
parent be8dbee0e5
commit 7b872801d8

View File

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