how to generate admin login instead of user login in loopback 4 code example
Example: loopback user password setter overwrite
UserModel.setter.password = function(plain) {
//var salt = bcrypt.genSaltSync(this.constructor.settings.saltWorkFactor || SALT_WORK_FACTOR);
//this.$password = bcrypt.hashSync(plain, salt);
this.$password = plain;
};