diff --git a/upub/core/src/server/auth.rs b/upub/core/src/server/auth.rs index 226dd964..837e6a9c 100644 --- a/upub/core/src/server/auth.rs +++ b/upub/core/src/server/auth.rs @@ -115,6 +115,7 @@ where // TODO assert payload's digest is equal to signature's let user_id = http_signature.key_id + .replace("/main-key", "") // gotosocial whyyyyy .split('#') .next().ok_or(UpubError::bad_request())? .to_string();