Locked video
Please enrol in the course or become Pro to watch this video.
Enrol to course
Are you already enrolled? Log in to continue learning.
Logging in without verification
Let's move on to allow users to log in to their account. As I mentioned a couple of lessons ago, we can decide to restrict access to only certain features pending upon email verification or restrict total access until email verification. In this lesson, we'll be covering the first scenario.
What you'll learn
- Log in using the
attempt
method - Display authenticated user data in a view
- Check whether a user is logged in or not in a view