github dannymcc/may v0.35.2

latest releases: v0.36.0, v0.35.3
5 hours ago

0.35.2

A single fix, for sessions dropping when no SECRET_KEY is configured.

Fixed

  • Running without SECRET_KEY set no longer bounces you back to the login page on every page change. May generates a key on first start and saves it to .secret_key in its data folder, so all of its worker processes sign sessions with the same key and logins survive a restart. Setting SECRET_KEY yourself still takes precedence and is never written to disk; if the key file cannot be written, May starts as before with a warning. (#317)

Other

  • The README's configuration section now notes that the supplied docker-compose.yml passes a placeholder SECRET_KEY, so Compose users get that rather than a generated key until they set one of their own or remove the line.
  • .env.example shows SECRET_KEY as optional and commented out.

Thanks to the reporter of #317 for the details that pinned this to gunicorn's separate worker processes.

Don't miss a new may release

NewReleases is sending notifications on new releases.