Remove account IDs in favor of just account names
These were a "security" feature but pre-emptive and just add complications when we can implement secrets later
This commit is contained in:
parent
b3b369f608
commit
7749854eb7
8 changed files with 23 additions and 53 deletions
|
@ -125,8 +125,8 @@ func InnerMain(command string) error {
|
|||
return fmt.Errorf("Server returned failure: %s", response.Error)
|
||||
|
||||
default:
|
||||
fmt.Printf("Registered account with id: %s\n", response.Id)
|
||||
config.Accounts[config.Host] = response.Id
|
||||
fmt.Printf("Registered account with id: %s\n", d.Name)
|
||||
config.Accounts[config.Host] = d.Name
|
||||
}
|
||||
|
||||
case "move":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue