claudyus / LXC-Web-Panel

LXC Web Panel improved for lxc 1.0+
http://claudyus.github.io/LXC-Web-Panel/
Other
221 stars 68 forks source link

generate session secret when package is installed #23

Closed ghost closed 10 years ago

ghost commented 10 years ago

It's a little bit ugly, but this way the user don't have to generate the unique session secret himself. Tested on my installation.

ghost commented 10 years ago

Changing the random generation as described here http://flask.pocoo.org/docs/0.10/quickstart/ in "How to generate good secret keys" section.