summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2020-12-09 18:30:13 +0000
committerfeld <feld@feld.me>2020-12-09 18:30:13 +0000
commit45e1cf902a70e5ab1f2af8d6484002c3d7e93df6 (patch)
tree9bf864f2d4af7b2df3055c8c38a56de3376fccec /config
parentc308224aafff4ca5bcbb481930f1eb557ab6ea6d (diff)
parent7fff9c1bee009c7b05679ad8bd57de8bcf58e610 (diff)
downloadpleroma-45e1cf902a70e5ab1f2af8d6484002c3d7e93df6.tar.gz
pleroma-45e1cf902a70e5ab1f2af8d6484002c3d7e93df6.zip
Merge branch 'oauth-entities-expiration-tweaks' into 'develop'
Tweaks to OAuth entities expiration See merge request pleroma/pleroma!3193
Diffstat (limited to 'config')
-rw-r--r--config/config.exs2
-rw-r--r--config/description.exs2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/config.exs b/config/config.exs
index f7455cf97..c7ac0d22c 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -648,7 +648,7 @@ config :pleroma, :email_notifications,
}
config :pleroma, :oauth2,
- token_expires_in: 600,
+ token_expires_in: 3600 * 24 * 30,
issue_new_refresh_token: true,
clean_expired_tokens: false
diff --git a/config/description.exs b/config/description.exs
index a663d8127..f4b8768da 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -2540,7 +2540,7 @@ config :pleroma, :config_description, [
key: :token_expires_in,
type: :integer,
description: "The lifetime in seconds of the access token",
- suggestions: [600]
+ suggestions: [2_592_000]
},
%{
key: :issue_new_refresh_token,