Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60116

Add username in emailpasswordchangeinfo

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.5, 3.3, 3.4
    • Fix Version/s: 3.4
    • Component/s: Language, Translation
    • Labels:
    • Testing Instructions:
      Hide

      Prerequisites

      1. configured ldap authentication (probably other auth methods with changepasswordurl would be ok)
      2. user using ldap auth
      3. some address entered in auth_ldap | changepasswordurl 

       

       Steps:

      1. verify that user is present and uses ldap auth
      2. go to login page and click on "Forgotten your username or password?"
      3. enter users email in Search by email address
      4. you'll receive email with username in email body
      Show
      Prerequisites configured ldap authentication (probably other auth methods with changepasswordurl would be ok) user using ldap auth some address entered in auth_ldap | changepasswordurl     Steps: verify that user is present and uses ldap auth go to login page and click on "Forgotten your username or password?" enter users email in Search by email address you'll receive email with username in email body
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      master-MDL-60116

      Description

      Add username in emailpasswordchangeinfo like it's done in emailresetconfirmation.

      When user uses forgotten password/username form, two possibilities exist

      1. when internal moodle password reset is used: email is send with confirmation link and username
      2. when external site for password change is used(like for ldap):  email with only link is send. 

      In the second situation user cannot retrieve username.

      If the code change is accepted, I'll add proper placeholder to en and pl translations in AMOS

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17