diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/config/config.yml | 3 | ||||
-rw-r--r-- | app/config/parameters.yml.dist | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 0b325afe..4eea0531 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -195,7 +195,8 @@ fos_oauth_server: | |||
195 | service: | 195 | service: |
196 | user_provider: fos_user.user_provider.username_email | 196 | user_provider: fos_user.user_provider.username_email |
197 | options: | 197 | options: |
198 | refresh_token_lifetime: 1209600 | 198 | refresh_token_lifetime: "%fos_oauth_server_refresh_token_lifetime%" |
199 | access_token_lifetime: "%fos_oauth_server_access_token_lifetime%" | ||
199 | 200 | ||
200 | scheb_two_factor: | 201 | scheb_two_factor: |
201 | trusted_device: | 202 | trusted_device: |
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 9948fa46..92047121 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist | |||
@@ -46,6 +46,11 @@ parameters: | |||
46 | fosuser_registration: true | 46 | fosuser_registration: true |
47 | fosuser_confirmation: true | 47 | fosuser_confirmation: true |
48 | 48 | ||
49 | # how long the access token should live in seconds for the API | ||
50 | fos_oauth_server_access_token_lifetime: 3600 | ||
51 | # how long the refresh token should life in seconds for the API | ||
52 | fos_oauth_server_refresh_token_lifetime: 1209600 | ||
53 | |||
49 | from_email: no-reply@wallabag.org | 54 | from_email: no-reply@wallabag.org |
50 | 55 | ||
51 | rss_limit: 50 | 56 | rss_limit: 50 |