I'm using loopback and having model name BaseUser. I want to update user password only if user enters correct old password. But in the baseUser object their is no property for password so I can't match them. How can I match the user password.
please guide me into this.