-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.4, 3.4, 3.4.3, 3.5
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-61296-master -
- Setup a LDAP server and setup the LDAP authentication plugin.
- For your LDAP settings ensure you have incorrectly mapped the email address by entering a value in ‘Data mapping (Email address)’ that doesn't exist on the LDAP server and set ‘Update external (Email address)’ to ‘On update’.
- Install https://mailcatcher.me/
- Log into your Moodle site as one of your LDAP users.
- Change your email in the user profile screen.
- View your mailcatcher UI.
- Visit the link sent to your email.
- Notice PHP notices.
Example of error - Notice: Undefined index: email in auth/ldap/auth.php on line 1295