Let's Learn AdonisJS 5 #5.8

Password Hashing & Model Hook Overview

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.

📑 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

Join The Discussion! (0 Comments)

Please sign in or sign up for free to join in on the dicussion.