mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 09:16:40 +00:00
Remove create account
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user