projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HTML: Compile Scrubbers on boot
[akkoma]
/
lib
/
pleroma
/
plugs
/
user_is_admin_plug.ex
diff --git
a/lib/pleroma/plugs/user_is_admin_plug.ex
b/lib/pleroma/plugs/user_is_admin_plug.ex
index 4c4b3d610c15ec69e07cd7d2ea63b46d1bc4df68..ee808f31f2f53988ff7bbfdeba61977171ad48e3 100644
(file)
--- a/
lib/pleroma/plugs/user_is_admin_plug.ex
+++ b/
lib/pleroma/plugs/user_is_admin_plug.ex
@@
-11,7
+11,7
@@
defmodule Pleroma.Plugs.UserIsAdminPlug do
options
end
- def call(%{assigns: %{user: %User{i
nfo: %{is_admin: true}
}}} = conn, _) do
+ def call(%{assigns: %{user: %User{i
s_admin: true
}}} = conn, _) do
conn
end