diff options
Diffstat (limited to 'client/go/cmd/logout.go')
-rw-r--r-- | client/go/cmd/logout.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/go/cmd/logout.go b/client/go/cmd/logout.go index c0a6b60ab2e..de9005c34d8 100644 --- a/client/go/cmd/logout.go +++ b/client/go/cmd/logout.go @@ -24,11 +24,11 @@ func newLogoutCmd(cli *CLI) *cobra.Command { if err != nil { return err } - a, err := auth0.GetAuth0(cli.config.authConfigPath(), system.Name, system.URL) + a, err := auth0.New(cli.config.authConfigPath(), system.Name, system.URL) if err != nil { return err } - if err := a.RemoveSystem(system.Name); err != nil { + if err := a.RemoveCredentials(); err != nil { return err } |