code: @Override
      void submit() {
  
          if ((m_user == null) || m_user.isManaged()) {
              return;
          }
          String password1 = m_form.getPassword1();
          String password2 = m_form.getPassword2();
          String error = null;
          if (validatePasswords(password1, password2)) {
              try {
                  m_cms.setPassword(m_user.getName(), password1);
                  CmsTokenValidator.clearToken(CmsLoginUI.m_adminCms, m_user);
              } catch (CmsException e) {
                  error = e.getLocalizedMessage(m_locale);
                  LOG.debug(e.getLocalizedMessage(), e);
              } catch (Exception e) {
                  error = e.getLocalizedMessage();
                  LOG.error(e.getLocalizedMessage(), e);
              }
  
              if (error != null) {
                  m_form.setErrorPassword1(new UserError(error), OpenCmsTheme.SECURITY_INVALID);
              } else {
                  CmsVaadinUtils.showAlert(
                      Messages.get().getBundle(A_CmsUI.get().getLocale()).key(Messages.GUI_PWCHANGE_SUCCESS_HEADER_0),
                      Messages.get().getBundle(A_CmsUI.get().getLocale()).key(
                          Messages.GUI_PWCHANGE_GUI_PWCHANGE_SUCCESS_CONTENT_0),
                      new Runnable() {
  
                          public void run() {
  
                              A_CmsUI.get().getPage().setLocation(
                                  OpenCms.getLinkManager().substituteLinkForUnknownTarget(
                                      CmsLoginUI.m_adminCms,
                                      CmsWorkplaceLoginHandler.LOGIN_HANDLER,
                                      false));
                          }
                      });
              }
          }
      }
docs: Submits the password.<p>