Fix sessions persisting across server restart

Need a non-random session secret.
This commit is contained in:
2023-10-07 00:54:15 -04:00
parent 609f6d3d9f
commit d5c5185351
3 changed files with 4 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ builds
SMTP_USER=user
SMTP_PASSWORD=password
EMAIL_FROM="crawlnicle <no-reply@mail.crawlnicle.com>"
SESSION_SECRET=64-bytes-of-secret
```
1. Run `just migrate` (or `sqlx migrate run`) which will run all the database