aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.go b/client.go
index 6b356fe..9bed81d 100644
--- a/client.go
+++ b/client.go
@@ -232,7 +232,7 @@ func (c *Client) Authorize(s ThumbSigner, domain string) error {
return errors.New("can't solve any challenges")
}
- ka, _ := s.Thumb(ch.Token)
+ ka, _ := KeyAuthorization(s, ch.Token)
ans := &Challenge{
Resource: ResChallenge,
Type: ch.Type,