mirror of
1
Fork 0

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
1 changed files with 1 additions and 0 deletions

View File

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