logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: c308224aafff4ca5bcbb481930f1eb557ab6ea6d
parent 477c6c8e558c1b1f193caadb6172db840c1910a4
Author: feld <feld@feld.me>
Date:   Wed,  9 Dec 2020 17:10:09 +0000

Merge branch 'oauth-token-30-days-expiration' into 'develop'

Changed default OAuth token expiration time to 30 days

See merge request pleroma/pleroma!3192

Diffstat:

Mlib/pleroma/mfa/token.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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__{}