summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-09-13 17:35:33 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-13 17:35:33 +0200
commit69bb56368d3a894619435c8b93d2f86e3f63da5f (patch)
tree1531b7d1112e3563af93e9e749f9061107324c2f
parentinclude Fork-Awesome files in-repo (#222) (diff)
downloadgotosocial-69bb56368d3a894619435c8b93d2f86e3f63da5f.tar.xz
set default privacy for new accounts (#225)
-rw-r--r--internal/db/bundb/admin.go1
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,