Lessons:18Length:2.1 hours

4.1 Adding Login Capability

If you were to deploy this app to the web, anybody that navigated to your site would be able to create, edit, and delete pages. That's okay in some scenarios, but in many cases it's not a good idea to give anonymous visitors such power! In this lesson, I'll show you how to add some basic login capability to your app. Along the way, you'll see how to take advantage of a very important feature of the Flask framework: the session.