diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-12-09 21:14:39 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-12-09 21:14:39 +0300 |
commit | 7fff9c1bee009c7b05679ad8bd57de8bcf58e610 (patch) | |
tree | 9bf864f2d4af7b2df3055c8c38a56de3376fccec /config/config.exs | |
parent | c308224aafff4ca5bcbb481930f1eb557ab6ea6d (diff) | |
download | pleroma-7fff9c1bee009c7b05679ad8bd57de8bcf58e610.tar.gz pleroma-7fff9c1bee009c7b05679ad8bd57de8bcf58e610.zip |
Tweaks to OAuth entities expiration: changed default to 30 days, removed hardcoded values usage, fixed OAuthView (expires_in).
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 2 |
1 files changed, 1 insertions, 1 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 |