Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

Commit

Permalink
Fixed a periodic token bug in token creator
Browse files Browse the repository at this point in the history
  • Loading branch information
Caiyeon committed Feb 14, 2018
1 parent dbf7306 commit 1718640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/client/views/tools/CreateToken.vue
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ export default {
'explicit_max_ttl': this.stringToSeconds(this.max_ttl).toString() + 's',
'renewable': !!this.bRenewable,
'no_parent': !!this.bNoParent,
'period': this.bPeriodic ? this.stringToSeconds(this.max_ttl).toString() + 's' : '',
'period': this.bPeriodic ? this.stringToSeconds(this.period_ttl).toString() + 's' : '',
'no_default_policy': this.selectedPolicies.indexOf('default') === -1,
'policies': this.selectedPolicies
}
Expand Down

0 comments on commit 1718640

Please sign in to comment.