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

Changed default OAuth token expiration time to 30 days

See merge request pleroma/pleroma!3192
This commit is contained in:
feld 2020-12-09 17:10:09 +00:00
commit c308224aaf

View File

@ -11,7 +11,7 @@ defmodule Pleroma.MFA.Token do
alias Pleroma.User alias Pleroma.User
alias Pleroma.Web.OAuth.Authorization alias Pleroma.Web.OAuth.Authorization
@expires 300 @expires 3600 * 24 * 30
@type t() :: %__MODULE__{} @type t() :: %__MODULE__{}