From: Ivan Tashkinov Date: Wed, 9 Dec 2020 16:59:46 +0000 (+0300) Subject: Changed default OAuth token expiration time to 30 days. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7da0349d731058f00904186ebdab9a7514b37a14;p=akkoma Changed default OAuth token expiration time to 30 days. --- 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__{}