diff options
author | feld <feld@feld.me> | 2020-12-09 17:10:09 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2020-12-09 17:10:09 +0000 |
commit | c308224aafff4ca5bcbb481930f1eb557ab6ea6d (patch) | |
tree | 277b5961aa5c98110f62bf5d2ba9e972b0102271 | |
parent | 477c6c8e558c1b1f193caadb6172db840c1910a4 (diff) | |
parent | 7da0349d731058f00904186ebdab9a7514b37a14 (diff) | |
download | pleroma-c308224aafff4ca5bcbb481930f1eb557ab6ea6d.tar.gz |
Merge branch 'oauth-token-30-days-expiration' into 'develop'
Changed default OAuth token expiration time to 30 days
See merge request pleroma/pleroma!3192
-rw-r--r-- | lib/pleroma/mfa/token.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/mfa/token.ex b/lib/pleroma/mfa/token.ex index 69b64c0e8..82d3817cc 100644 --- a/lib/pleroma/mfa/token.ex +++ b/lib/pleroma/mfa/token.ex @@ -11,7 +11,7 @@ defmodule Pleroma.MFA.Token do alias Pleroma.User alias Pleroma.Web.OAuth.Authorization - @expires 300 + @expires 3600 * 24 * 30 @type t() :: %__MODULE__{} |