set default privacy for new accounts (#225)

This commit is contained in:
tobi 2021-09-13 17:35:33 +02:00 committed by GitHub
parent 8ab9108d3a
commit 69bb56368d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,7 @@ func (a *adminDB) NewSignup(ctx context.Context, username string, reason string,
Username: username,
DisplayName: username,
Reason: reason,
Privacy: gtsmodel.VisibilityDefault,
URL: newAccountURIs.UserURL,
PrivateKey: key,
PublicKey: &key.PublicKey,