Skip to content

Commit 01c60cf

Browse files
author
Joshua Anderson
committed
fix(client-go): unset token before logging in
1 parent 381e7ca commit 01c60cf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

client-go/cmd/auth.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ func Register(controller string, username string, password string, email string,
6969

7070
err = auth.Register(c, username, password, email)
7171

72+
c.Token = ""
73+
7274
if err != nil {
7375
return err
7476
}

0 commit comments

Comments
 (0)