doc(user-model): fix typo in addHook
This commit is contained in:
parent
ad27e12100
commit
ed144ae039
|
@ -7,7 +7,7 @@ class User extends Model {
|
||||||
super.boot()
|
super.boot()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A hook to bash the user password before saving
|
* A hook to hash the user password before saving
|
||||||
* it to the database.
|
* it to the database.
|
||||||
*
|
*
|
||||||
* Look at `app/Models/Hooks/User.js` file to
|
* Look at `app/Models/Hooks/User.js` file to
|
||||||
|
|
Loading…
Reference in New Issue
Block a user