Remove create account

This commit is contained in:
braginini
2022-06-08 00:02:53 +02:00
parent ad3d7888cf
commit 8fdd4ae3a2

View File

@@ -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)