projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add link verification in profile fields (#405)
[akkoma]
/
lib
/
pleroma
/
web
/
plugs
/
ensure_authenticated_plug.ex
diff --git
a/lib/pleroma/web/plugs/ensure_authenticated_plug.ex
b/lib/pleroma/web/plugs/ensure_authenticated_plug.ex
index ea2af6881ff801ecd1b2af85c6bb9b0cef9067ed..31e7410d627b9fe5b0b2231ab85be2ba81a881e6 100644
(file)
--- a/
lib/pleroma/web/plugs/ensure_authenticated_plug.ex
+++ b/
lib/pleroma/web/plugs/ensure_authenticated_plug.ex
@@
-1,8
+1,12
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.Plugs.EnsureAuthenticatedPlug do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.Plugs.EnsureAuthenticatedPlug do
+ @moduledoc """
+ Ensures _user_ authentication (app-bound user-unbound tokens are not accepted).
+ """
+
import Plug.Conn
import Pleroma.Web.TranslationHelpers
import Plug.Conn
import Pleroma.Web.TranslationHelpers