Skip to content

Commit

Permalink
chore: Set default token expires to 30 days
Browse files Browse the repository at this point in the history
  • Loading branch information
strahe committed Aug 30, 2024
1 parent 26a5b51 commit e994b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var DefaultConfig = Config{
},
Auth: AuthConfig{
Secret: lo.RandomString(32, lo.LettersCharset),
Expires: 24,
Expires: 24 * 30,
Users: []UserConfig{
{Username: "admin", Password: lo.RandomString(24, lo.LettersCharset), Description: "Administrator"},
},
Expand Down

0 comments on commit e994b10

Please sign in to comment.