Tweaks to OAuth entities expiration: changed default to 30 days, removed hardcoded...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 9 Dec 2020 18:14:39 +0000 (21:14 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 9 Dec 2020 18:14:39 +0000 (21:14 +0300)
commit7fff9c1bee009c7b05679ad8bd57de8bcf58e610
tree9bf864f2d4af7b2df3055c8c38a56de3376fccec
parentc308224aafff4ca5bcbb481930f1eb557ab6ea6d
Tweaks to OAuth entities expiration: changed default to 30 days, removed hardcoded values usage, fixed OAuthView (expires_in).
config/config.exs
config/description.exs
lib/pleroma/mfa/token.ex
lib/pleroma/web/o_auth/authorization.ex
lib/pleroma/web/o_auth/o_auth_view.ex
lib/pleroma/web/o_auth/token.ex
test/pleroma/web/o_auth/mfa_controller_test.exs
test/pleroma/web/o_auth/o_auth_controller_test.exs