Skip to content

Commit e5565a2

Browse files
author
Matthew Fisher
committed
Merge pull request #4251 from Joshua-Anderson/login-fix
fix(client-go): unset token before logging in
2 parents 8d0637c + 01c60cf commit e5565a2

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)