Unread Notifications

Latest Notifications

No Notifications

You're all set! Start a discussion by leaving a comment on a lesson or replying to an existing comment.

Let's Learn AdonisJS 5

Password Hashing & Model Hook Overview

0:13 Read

In this lesson, we'll learn briefly about the model hooks available and how they work. Then, we'll walk through an example by hashing our password anytime it is changed.

Watch on YouTube
View Repository

📑 Documentation Links:

LucidORM Model Hook Guides
LucidORM Model Hook Decorator References

🕑 Chapters:

00:00 - Intro
01:00 - Model Hook Options
03:28 - Bad Plaintext Password Example
05:00 - Auto Hashing Password When Changed
06:50 - Excluding Password When Serialized
08:14 - Outro

📜 Transcript:

Coming soon


Prepared By

Tom Gobich

Burlington, KY

Owner of Adocasts, JavaScript developer, educator, PlayStation gamer, burrito eater.

Visit Website