def change_password(self, brl_user, old_password, new_plain_password):
        logger.debug("Change password for user %s" % brl_user)
        self.security.check_change_password(brl_user)
        user = self.store.read_user(brl_user)
        if user.valid_password(old_password):
            logger.debug("old password ok")
            try:
                user.password = new_plain_password
            except InvalidNameException as e:
                raise ControledErrorException(e)
            self.store.update_user(user)
            logger.debug("Updated user!")
        else:
            raise ControledErrorException("Invalid password!")
Changes the password for the specified user
dataset/ETHPy150Open biicode/bii-server/user/user_service.py/UserService.change_password