/** * Validate a password input by a user * @param pass - the password to be validated against the database password * @return boolean - true if the password was correct; */ function validatePassword($pass) { $ret = Password::validatePassword($pass, $this->get('user_password')); return $ret; }