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

New password email shows user's full name when language string references firstname

XMLWordPrintable

      String 'newusernewpasswordtext' in lang/en/moodle.php references $a->firstname.  This string is used for sending new password emails out to new users in lib/moodlelib.php at \setnew_password_and_mail.

      The issue is that the logic is setting firstname to the user's fullname instead of their first name.

      To reproduce the issue, create new user ensuring that 'Generate password and notify user' is checked.  Then, verify the contents of the email.

       

            Unassigned Unassigned
            ultracrystal Eric Richer
            Votes:
            7 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 39 minutes
                39m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.