diff options
author | 2021-09-13 17:35:33 +0200 | |
---|---|---|
committer | 2021-09-13 17:35:33 +0200 | |
commit | 69bb56368d3a894619435c8b93d2f86e3f63da5f (patch) | |
tree | 1531b7d1112e3563af93e9e749f9061107324c2f /internal/db/bundb/admin.go | |
parent | include Fork-Awesome files in-repo (#222) (diff) | |
download | gotosocial-69bb56368d3a894619435c8b93d2f86e3f63da5f.tar.xz |
set default privacy for new accounts (#225)
Diffstat (limited to 'internal/db/bundb/admin.go')
-rw-r--r-- | internal/db/bundb/admin.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/db/bundb/admin.go b/internal/db/bundb/admin.go index dd973ef2d..a2028f8f0 100644 --- a/internal/db/bundb/admin.go +++ b/internal/db/bundb/admin.go @@ -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, |