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

Change Password button for External DB authentication

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.4, 1.7.1, 1.8
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      All
    • Database:
      Any
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE

      Description

      Currently, the change password button used on the Profile Page will not appear when using external DB authentication and a custom URL for password change.

      Lines 305 and 306 of the user/view.php file were not changed to reflect a new method of storing the custom URL from version 1.5.3 to 1.6.

      Current file:

      line 305

      } else if ( strlen($CFG->changepassword) > 1 )

      { line 306 echo <td nowrap=nowrap><form action=$CFG->changepassword method=get>; CORRECTED: line 305 }

      else if ( strlen($CFG->

      {'auth_'.$user->auth.'_changepasswordurl'}) > 1 ) { /// jamie bug fix

      line 306

      echo <td nowrap=nowrap><form action=.$CFG->{'auth_'.$user->auth.'_changepasswordurl'}

      . method=get>;/// jamie bug fix

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              imported Imported
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/Jan/07