Commit Graph

3 Commits

Author SHA1 Message Date
Harminder Virk
eb9afd9377 fix(hooks): use beforeCreate over beforeSave 2018-02-09 17:05:39 +05:30
Stephen Afam-Osemene
c19c0d0880 fix(hook): use beforeSave over beforeCreate
Changed the hook from `beforeCreate` to `beforeSave`
With `beforeCreate` the password will not be hashed if it is changed later
2017-10-24 11:48:18 +05:30
Harminder Virk
991657c76b feat(*) initial commit 2017-08-20 22:39:25 +05:30