projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Create tombstone instead of object deletion
[akkoma]
/
lib
/
pleroma
/
plugs
/
basic_auth_decoder_plug.ex
diff --git
a/lib/pleroma/plugs/basic_auth_decoder_plug.ex
b/lib/pleroma/plugs/basic_auth_decoder_plug.ex
index fc8fcee988e1fe76d7eceef4cff7184fb7cd7e03..f7ebf7db27d54e717b5a6b6ea8597d90a4677bd2 100644
(file)
--- a/
lib/pleroma/plugs/basic_auth_decoder_plug.ex
+++ b/
lib/pleroma/plugs/basic_auth_decoder_plug.ex
@@
-5,7
+5,7
@@
defmodule Pleroma.Plugs.BasicAuthDecoderPlug do
options
end
- def call(conn, opts) do
+ def call(conn,
_
opts) do
with ["Basic " <> header] <- get_req_header(conn, "authorization"),
{:ok, userinfo} <- Base.decode64(header),
[username, password] <- String.split(userinfo, ":", parts: 2) do