Syllabus

  1. 01Storing AccountsKeep member passwords out of reach even if the database leaks: hash them with Werkzeug, then build a Member model and a validated registration form around that.2 lessons
    1. 01Hashing Passwords
    2. 02The Member Model and Registration
  2. 02Logging In and OutUse Flask-Login to remember who is signed in, log members in and out safely, then guard pages, redirect people back to where they were headed and decide how long a login lasts.2 lessons
    1. 01Logging In and Out with Flask-Login
    2. 02Protecting Routes and Redirecting Safely
  3. 03Using AccountsTie records to the member who made them, refuse requests for anyone else's data, and give members clear feedback with flash messages.1 lesson
    1. 01Whose Firing Is It?