From 8fdd4ae3a29fac7cb8d363963e4e384700843f83 Mon Sep 17 00:00:00 2001 From: braginini Date: Wed, 8 Jun 2022 00:02:53 +0200 Subject: [PATCH] Remove create account --- management/server/account.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/management/server/account.go b/management/server/account.go index cd6884041..2c3c0ce8d 100644 --- a/management/server/account.go +++ b/management/server/account.go @@ -630,11 +630,6 @@ func (am *DefaultAccountManager) AddAccount(accountId, userId, domain string) (* return am.createAccountWithID(accountId, userId, domain) } -func (am *DefaultAccountManager) createAccount(userId, domain string) (*Account, error) { - accountId := xid.New().String() - return am.createAccountWithID(accountId, userId, domain) -} - func (am *DefaultAccountManager) createAccountWithID(accountId, userId, domain string) (*Account, error) { account := newAccountWithId(accountId, userId, domain)