mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-01-24 06:22:20 +01:00
set default privacy for new accounts (#225)
This commit is contained in:
parent
8ab9108d3a
commit
69bb56368d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user