code: protected void submit() {
  
          CmsLoginMessage loginMessage = new CmsLoginMessage();
          CmsLoginMessage beforeLoginMessage = new CmsLoginMessage();
          try {
              m_formBinderAfter.writeBean(loginMessage);
              m_formBinderBefore.writeBean(beforeLoginMessage);
              OpenCms.getLoginManager().setLoginMessage(A_CmsUI.getCmsObject(), loginMessage);
              OpenCms.getLoginManager().setBeforeLoginMessage(A_CmsUI.getCmsObject(), beforeLoginMessage);
              // update the system configuration
              OpenCms.writeConfiguration(CmsVariablesConfiguration.class);
          } catch (Exception e) {
              LOG.error("Unable to save Login Message", e);
          }
      }
docs: Saves the settings.<p>