This is an old revision of the document!
Now it's the time to add authentication to our website.
We will use the built-in Flask client-side encrypted sessions feature, for which will need to take the following steps to enable:
session
field from Flask
;# insert after initializing `app` app.config["SECRET_KEY"] = "<type some secret here>"
login.html
and logout.html
with the appropriate checks / actions.authenticated
variable inside the Jinja template and conditionally display the user's status.