projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add emojo
[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 cf22ce5d064602926db32e0820ea636f250472bb..04329e919fceb88bfe9c22bec8c70b6639e36636 100644
(file)
--- a/
lib/pleroma/plugs/user_is_admin_plug.ex
+++ b/
lib/pleroma/plugs/user_is_admin_plug.ex
@@
-1,3
+1,7
@@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
defmodule Pleroma.Plugs.UserIsAdminPlug do
import Plug.Conn
alias Pleroma.User