Skip to content

Commit

Permalink
Return Okta config TTLs in seconds, not nanos. (#3871)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgiles authored and jefferai committed Feb 1, 2018
1 parent 1d310fa commit 75b9e21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/credential/okta/path_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ func (b *backend) pathConfigRead(ctx context.Context, req *logical.Request, d *f
Data: map[string]interface{}{
"organization": cfg.Org,
"org_name": cfg.Org,
"ttl": cfg.TTL,
"max_ttl": cfg.MaxTTL,
"ttl": cfg.TTL.Seconds(),
"max_ttl": cfg.MaxTTL.Seconds(),
},
}
if cfg.BaseURL != "" {
Expand Down

0 comments on commit 75b9e21

Please sign in to comment.