🔥 AdonisJS From Scracth Early Access is Now Open!

Lesson locked

Please enrol in the course or become a Pro member to access this lesson.

Enrol to course
Are you already enrolled? Log in to continue learning.

Logging in after verification

Now, let's cover the other scenario where we'll restrict logging in to only users that have verified their email addresses.

What you'll learn

  • Log in using the login method
  • Manually verify hashed password
  • Two ways to handle checking whether user's email address has been verified