Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.3.4, 3.4, 3.4.3, 3.5
-
Component/s: Authentication
Description
- 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