showing results for - "loopback usermodel setter password overwrite"
Enrico
05 May 2017
1UserModel.setter.password = function(plain) {
2	//var salt = bcrypt.genSaltSync(this.constructor.settings.saltWorkFactor || SALT_WORK_FACTOR);
3    //this.$password = bcrypt.hashSync(plain, salt);
4    this.$password = plain;
5};