This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
SetUserSessionIdPlug module name
1668/default-disable-prometheus
Alexander Strizhakov
3 years ago
parent
d36c9e210a
commit
f7614d4718
No known key found for this signature in database
GPG Key ID:
22896A53AEF1381
3 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/pleroma/web/plugs/set_user_session_id_plug.ex
+1
-1
lib/pleroma/web/router.ex
+1
-1
test/pleroma/web/plugs/set_user_session_id_plug_test.exs
+ 1
- 1
lib/pleroma/web/plugs/set_user_session_id_plug.ex
View File
@@ -2,7 +2,7 @@
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Plugs.SetUserSessionIdPlug do
defmodule Pleroma.
Web.
Plugs.SetUserSessionIdPlug do
import Plug.Conn
alias Pleroma.User
+ 1
- 1
lib/pleroma/web/router.ex
View File
@@ -35,7 +35,7 @@ defmodule Pleroma.Web.Router do
pipeline :after_auth do
plug(Pleroma.Web.Plugs.UserEnabledPlug)
plug(Pleroma.Plugs.SetUserSessionIdPlug)
plug(Pleroma.
Web.
Plugs.SetUserSessionIdPlug)
plug(Pleroma.Plugs.EnsureUserKeyPlug)
end
+ 1
- 1
test/pleroma/web/plugs/set_user_session_id_plug_test.exs
View File
@@ -5,7 +5,7 @@
defmodule Pleroma.Web.Plugs.SetUserSessionIdPlugTest do
use Pleroma.Web.ConnCase, async: true
alias Pleroma.Plugs.SetUserSessionIdPlug
alias Pleroma.
Web.
Plugs.SetUserSessionIdPlug
alias Pleroma.User
setup %{conn: conn} do
Write
Preview
Loading…
Cancel
Save