Skip to content

Commit

Permalink
Merge pull request #195 from biglotteryfund/extend-preview-links
Browse files Browse the repository at this point in the history
Give preview links a lifespan of a week, not a day
  • Loading branch information
mattandrews authored Oct 25, 2019
2 parents 655ea68 + 9672bb0 commit 176d045
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
// This needs to be defined if upload_max_filesize is greater than 16mb (Craft default)
'maxUploadFileSize' => 20777216,

// Allow expiring links (eg. shareable previews) to last for a week
'defaultTokenDuration ' => 604800, // one week

],

// Dev environment settings
Expand Down

0 comments on commit 176d045

Please sign in to comment.