Tweaks to OAuth entities expiration: changed default to 30 days, removed hardcoded values usage, fixed OAuthView (expires_in).
This commit is contained in:
parent
c308224aaf
commit
7fff9c1bee
8 changed files with 14 additions and 17 deletions
|
|
@ -11,7 +11,7 @@ defmodule Pleroma.MFA.Token do
|
|||
alias Pleroma.User
|
||||
alias Pleroma.Web.OAuth.Authorization
|
||||
|
||||
@expires 3600 * 24 * 30
|
||||
@expires 300
|
||||
|
||||
@type t() :: %__MODULE__{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue