auth
auth/client.go
Fix bug when issuing client secret. Client secrets were only issued to public clients, not only to confidential clients. Oops.
1.1 --- a/client.go Sun Jan 18 01:25:15 2015 -0500 1.2 +++ b/client.go Sun Jan 18 01:54:11 2015 -0500 1.3 @@ -401,7 +401,7 @@ 1.4 Website: req.Website, 1.5 Type: req.Type, 1.6 } 1.7 - if client.Type == clientTypePublic { 1.8 + if client.Type == clientTypeConfidential { 1.9 secret := make([]byte, 32) 1.10 _, err = rand.Read(secret) 1.11 if err != nil {