projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
477c6c8
)
Changed default OAuth token expiration time to 30 days.
author
Ivan Tashkinov
<ivantashkinov@gmail.com>
Wed, 9 Dec 2020 16:59:46 +0000
(19:59 +0300)
committer
Ivan Tashkinov
<ivantashkinov@gmail.com>
Wed, 9 Dec 2020 16:59:46 +0000
(19:59 +0300)
lib/pleroma/mfa/token.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/mfa/token.ex
b/lib/pleroma/mfa/token.ex
index 69b64c0e8ed73087a1912bbdf2312407382b2e91..82d3817ccfaca12e014ca0c848d5c1778371df2d 100644
(file)
--- 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 3
0
0
+ @expires 3
600 * 24 * 3
0
@type t() :: %__MODULE__{}