commit: 7da0349d731058f00904186ebdab9a7514b37a14
parent 477c6c8e558c1b1f193caadb6172db840c1910a4
Author: Ivan Tashkinov <ivantashkinov@gmail.com>
Date: Wed, 9 Dec 2020 19:59:46 +0300
Changed default OAuth token expiration time to 30 days.
Diffstat:
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__{}