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

Add ability to change passwords for users using Shibboleth

    XMLWordPrintable

Details

    • MOODLE_24_STABLE
    • MOODLE_33_STABLE
    • MDL-41729-master
    • Hide
      1. Make sure you have a shibboleth server properly configured.
      2. Go to Site administration ► Plugins ► Authentication
      3. Enable shibboleth server.
      4. Set Password-change URL to shibboleth server password change url.
      5. Create a user and set his auth method to shibboleth.
      6. Log in as a user
      7. Attempt to change your password (via moodle)
      8. Log out
      9. Log in again
      10. Try your old password
      11. Make sure it doesn't work
      12. Try your new password
      13. Make sure it works
      Show
      Make sure you have a shibboleth server properly configured. Go to Site administration ► Plugins ► Authentication Enable shibboleth server. Set Password-change URL to shibboleth server password change url. Create a user and set his auth method to shibboleth. Log in as a user Attempt to change your password (via moodle) Log out Log in again Try your old password Make sure it doesn't work Try your new password Make sure it works

    Description

      To enable the change password, edit auth/shibboleth/auth.php:

      Edit:
      function can_change_password()

      { return true; }

      Insert:
      function change_password_url() {
      if(!empty($this->config->changepasswordurl))

      { return new moodle_url($this->config->changepasswordurl); }

      }

      Attachments

        Activity

          People

            l.haemmerle Lukas Haemmerle
            tailot ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็Vincenzo Tilottaด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็
            Simey Lameze Simey Lameze
            David Monllaó David Monllaó
            Rajesh Taneja Rajesh Taneja
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/May/17