lhaemmerle/moodle — pull request #1 by ndunand (2012-04-26 12:18:42+00:00)
Title: Proposed modifications for auth/shibboleth

Hi Lukas,

Here are some slight modifications I tried on auth/shibboleth to make it work nicely with my new auth/attributes.

- I removed a strtolower() because I had a PHP warning during the login process (between 2 redirects) apparently due to the fact that the software not being happy with capitalization having changed. Not sure why you had this strtolower() in the code, so I dont know...

- I made auth/shibboleth trigger a Moodle event upon succesful login. This way, I can register this event in my enrol/attributes plugin and enrol the user as soon as he logs in the first time, if needed.

Kind regards,
Nicolas