Package de.bps.olat.user

Examples of de.bps.olat.user.ChangeEMailExecuteController


      }
    }
   
    // check running of email change workflow
    if (ureq.getIdentity().getUser().getProperty("emchangeKey", null) != null) {
      ChangeEMailExecuteController mm = new ChangeEMailExecuteController(ureq, wControl);
      if (mm.isLinkTimeUp()) {
        mm.deleteRegistrationKey();
      } else {
        if (mm.isLinkClicked()) {
          mm.changeEMail(wControl);
          activateContent(ureq, MENU_MYSETTINGS, null);
        } else {
          Boolean alreadySeen = ((Boolean)ureq.getUserSession().getEntry(PRESENTED_EMAIL_CHANGE_REMINDER));
          if (alreadySeen == null) {
            getWindowControl().setWarning(mm.getPackageTranslator().translate("email.change.reminder"));
            ureq.getUserSession().putEntry(PRESENTED_EMAIL_CHANGE_REMINDER, Boolean.TRUE);
          }
        }
      }
    } else {
View Full Code Here

TOP

Related Classes of de.bps.olat.user.ChangeEMailExecuteController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.