-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cached random tokens potentially not persisting on first start.
The "var/run" directory was not being created prior to the random tokens being trying to be written. So if this directory didn't already exist (on initial startup), this could lead to the random tokens changing on subsequent runs. To fix this, ensure the directory exists, but also better optimize this process so new tokens are only generated if needed, and the file is only written if needed (rather than rewriting it on every startup).
- Loading branch information
Showing
1 changed file
with
44 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters