projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into feature/account-export
[akkoma]
/
lib
/
pleroma
/
web
/
pleroma_api
/
controllers
/
two_factor_authentication_controller.ex
diff --git
a/lib/pleroma/web/pleroma_api/controllers/two_factor_authentication_controller.ex
b/lib/pleroma/web/pleroma_api/controllers/two_factor_authentication_controller.ex
index b86791d0961d9bf3d4f96485f9b92279942a8936..eba4523002efc2033ab02ea34c43d1eaa26aa3e8 100644
(file)
--- a/
lib/pleroma/web/pleroma_api/controllers/two_factor_authentication_controller.ex
+++ b/
lib/pleroma/web/pleroma_api/controllers/two_factor_authentication_controller.ex
@@
-10,8
+10,8
@@
defmodule Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController do
alias Pleroma.MFA
alias Pleroma.MFA.TOTP
alias Pleroma.MFA
alias Pleroma.MFA.TOTP
- alias Pleroma.Plugs.OAuthScopesPlug
alias Pleroma.Web.CommonAPI.Utils
alias Pleroma.Web.CommonAPI.Utils
+ alias Pleroma.Web.Plugs.OAuthScopesPlug
plug(OAuthScopesPlug, %{scopes: ["read:security"]} when action in [:settings])
plug(OAuthScopesPlug, %{scopes: ["read:security"]} when action in [:settings])