Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.


Premium Features

Download Video

11. Logging Users In

Published 3 years ago

There's not much use of creating users if they don't have a way to log back in after logging out. Logging in requires that a user submitted username and password match a username and password stored in the database. If a match is found, we create a session and return that session data to the frontend, else, we end the request with a 401 status code, meaning, authentication was unsuccessful.


Want to participate?

Create a free Chris Courses account to begin


No comments yet, be the first to add one

Cheat Sheet Preview

Download The Official Chris Courses HTML5 Canvas Cheat Sheet

Essential canvas syntax at your fingertips.

Download Now

Providing the lift to launch your development career

© 2022 Chris Courses. All rights reserved.