code: def change_password(self, password):
          
  
          def cb():
              if not utils.is_password_valid(password):
                  raise exceptions.AuthError("Invalid Password")
              self.user.change_password(password)
              return True
  
          return signals.user_update(self, ACTIONS["PASSWORD"], cb)
docs: Change a user's password
          :param user:
          :param password:
          :param password_confirm:
          :return: