showing results for - "loopback user password setter overwrite"
Lena
17 Mar 2019
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};