udacity/Full-Stack-Foundations

What "app.secret_key = 'super_secret_key' mean"?

Opened this issue · 1 comments

On the line 167 of :https://github.com/udacity/ud330/blob/master/Lesson2/step2/project.py

    app.secret_key = 'super_secret_key'

What is that mean?

Hello lichang333, I believe this is covered in the videos, but the secret_key is needed in order to maintain sessions in Flask. You should replace 'super_secret_key' with a unique key that you create. You can find additional information in the Flask quickstart guide:

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