mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 15:28:37 -05:00
Extend the oauth2 access token TTL to an hour.
This commit is contained in:
@@ -387,7 +387,7 @@ class OAuth2AuthorizationCode(ConsumableToken):
|
||||
class OAuth2AccessToken(Token):
|
||||
"""An OAuth2 access token for accessing protected resources"""
|
||||
token_size = 20
|
||||
_ttl = 10 * 60
|
||||
_ttl = 60 * 60
|
||||
_defaults = dict(scope="",
|
||||
token_type="bearer",
|
||||
refresh_token=None,
|
||||
|
||||
Reference in New Issue
Block a user