FedStoa / moa

A Mastodon, Twitter, and Instagram Cross-poster
https://moa.party
MIT License
356 stars 19 forks source link

What's the SECRET_KEY option in defaults.py #99

Closed muellermartin closed 5 years ago

muellermartin commented 5 years ago

In line 5 of defaults.py there is the option SECRET_KEY with the value set to this-really-needs-to-be-changed. I could not find it being used anywhere in the repository although it looks important. What is this option good for?

foozmeat commented 5 years ago

Its the encryption key for flask sessions

http://flask.pocoo.org/docs/1.0/quickstart/#sessions

I'll add a comment to the defaults.py