http signature plug: remove redundant checks handled by HTTPSignatures library
authorAriadne Conill <ariadne@dereferenced.org>
Thu, 18 Jul 2019 15:06:58 +0000 (15:06 +0000)
committerAriadne Conill <ariadne@dereferenced.org>
Thu, 18 Jul 2019 15:11:21 +0000 (15:11 +0000)
commit88d064d80e4a3272a2a7101089b5f924fd175866
tree27510d4c7006b3058693159137fd4ce22dd1b7ae
parentf9a0014681a2054ca9fec9df4729bce8bc0b4060
http signature plug: remove redundant checks handled by HTTPSignatures library

the redundant checks assumed a POST request, which will not work for signed GETs.
this check was originally needed because the HTTPSignatures adapter assumed that
the requests were also POST requests.  but now, the adapter has been corrected.
lib/pleroma/plugs/http_signature.ex
test/plugs/http_signature_plug_test.exs