work on validating incoming fed requests

This commit is contained in:
tsmethurst 2021-04-26 21:18:39 +02:00
commit 2ed1e36ee0
9 changed files with 336 additions and 15 deletions

View file

@ -465,6 +465,7 @@ func (ps *postgresService) NewSignup(username string, reason string, requireAppr
URL: newAccountURIs.UserURL,
PrivateKey: key,
PublicKey: &key.PublicKey,
PublicKeyURI: newAccountURIs.PublicKeyURI,
ActorType: gtsmodel.ActivityStreamsPerson,
URI: newAccountURIs.UserURI,
InboxURL: newAccountURIs.InboxURI,