mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-24 03:06:38 +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)
|
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) {
|
func (am *DefaultAccountManager) createAccountWithID(accountId, userId, domain string) (*Account, error) {
|
||||||
account := newAccountWithId(accountId, userId, domain)
|
account := newAccountWithId(accountId, userId, domain)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user