def METHOD_NAME(self, message: str) -> None:
    """
    Ensures the passed in message is displayed as an error message.
    """
    self.setDisabled(False)
    self.submit.setText(_("SIGN IN"))
    self.error_bar.set_message(message)
    self.opacity_effect.setOpacity(1)
    self.offline_mode.setGraphicsEffect(self.opacity_effect)