summaryrefslogtreecommitdiff
path: root/internal/db/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/admin.go')
-rw-r--r--internal/db/admin.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/db/admin.go b/internal/db/admin.go
index 29ddaa616..57ded68b1 100644
--- a/internal/db/admin.go
+++ b/internal/db/admin.go
@@ -19,7 +19,6 @@ package db
import (
"context"
- "net"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
)
@@ -39,7 +38,7 @@ type Admin interface {
// NewSignup creates a new user in the database with the given parameters.
// By the time this function is called, it should be assumed that all the parameters have passed validation!
- NewSignup(ctx context.Context, username string, reason string, requireApproval bool, email string, password string, signUpIP net.IP, locale string, appID string, emailVerified bool, externalID string, admin bool) (*gtsmodel.User, Error)
+ NewSignup(ctx context.Context, newSignup gtsmodel.NewSignup) (*gtsmodel.User, Error)
// CreateInstanceAccount creates an account in the database with the same username as the instance host value.
// Ie., if the instance is hosted at 'example.org' the instance user will have a username of 'example.org'.