Video Thumbnail

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

UNLOCK LESSON

Premium Features

Download Video

11. Logging Users In

Published 4 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.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.