Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-629

Send email when a password has been changed

    XMLWordPrintable

    Details

      Description

      When a user changes his password or a usermanager chages a password for himself an email should be triggered to prevent unauthorized password changes.

      For this purpose the method in OLATAuthManager.changeOlatPassword() must adapted. The following templates should be implemented. The same text is sent whether the user changes the password himself or an admin changed the password.

      German template:

      Das Passwort für Ihren OpenOLAT Account {0} mit der Email {1} wurde soeben von {2} neu gesetzt. 
      
      Wenn Sie mit dieser Änderung nicht einverstanden sind oder denken, dass Ihr Zugang von dritten kompromittiert wurde, dann melden Sie sich bitte unverzüglich beim Support unter {3} oder wählen Sie den Link {4} um das Passwort erneut zu ändern.
      
      

      English template:

      The password for your OpenOLAT account {0} with the email address {1} has been changed by {2}. 
      
      If you do not agree with this change or if you think your account has been compromised by third parties, please contact support immediately at {3} or use the Link {4} to change the password again.
      

      Variables:
      0: changed users username
      1: changed users email address
      2: Name (first and last name) of user who changed the password
      3: configured support email address
      4: direct link to change password workflow (e.g. https://xx.xx.xx/olat/url/changepw/0)

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Kirsten Scherer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes Time Not Required
                1h 30m