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

setnew_password_and_mail in Moodlelib updates the database without using salt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.8.13, 1.9.9, 2.0
    • 1.8, 1.9
    • Libraries
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      It does set_field('user', 'password', md5($newpassword), 'id', $user->id)

      I found this in passing while grepping for newpassword.

            skodak Petr Skoda
            timhunt Tim Hunt
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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