diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-12-09 19:59:46 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-12-09 19:59:46 +0300 |
commit | 7da0349d731058f00904186ebdab9a7514b37a14 (patch) | |
tree | 277b5961aa5c98110f62bf5d2ba9e972b0102271 | |
parent | 477c6c8e558c1b1f193caadb6172db840c1910a4 (diff) | |
download | pleroma-7da0349d731058f00904186ebdab9a7514b37a14.tar.gz |
Changed default OAuth token expiration time to 30 days.
-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__{} |