higher token live time, should fix #10
This commit is contained in:
parent
e487aebc4e
commit
e2367bb30b
@ -90,7 +90,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||||||
|
|
||||||
# simple JWT auth settings
|
# simple JWT auth settings
|
||||||
SIMPLE_JWT = {
|
SIMPLE_JWT = {
|
||||||
'ACCESS_TOKEN_LIFETIME': timedelta(minutes=120),
|
'ACCESS_TOKEN_LIFETIME': timedelta(hours=7),
|
||||||
'REFRESH_TOKEN_LIFETIME': timedelta(days=7),
|
'REFRESH_TOKEN_LIFETIME': timedelta(days=7),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user