• Pietro Albini's avatar
    Generate a random secret key at first startup · 030a3b3f
    Pietro Albini authored
    This commit generates a new secret key (used by Flask to sign cookies
    and other stuff) the first time an instance is started within a data
    directory. The key is not regenerated the next startups, to avoid
    invalidating stuff.
    030a3b3f
__main__.py 2.25 KB