GeekLad
GeekLad
I added the afterValidate [lifecycle callback](http://sailsjs.org/documentation/concepts/models-and-orm/lifecycle-callbacks) to my User model to perform the password update when a password is passed in: ``` js afterValidate: function(updates, next) { // Update the...
Even better, thanks! On Mon, Nov 16, 2015, 6:47 PM Scott B. Wyatt [email protected] wrote: > @GeekLad https://github.com/GeekLad I took what you have an changed > just a few things....
@scott-wyatt For some reason, this no longer works for me and I have no idea what I did to break it. When I run in debug mode and inspect the...
@scott-wyatt v0.11.2
@scott-wyatt I'm not really sure what changes I made that broke it. Here's what I have in User.js right now: ``` javascript // api/models/User.js var _ = require('lodash'); var _super...
@ParanormalCoder I tried with that config on a new project, and it's not working for me.