onelogin / drupal-saml

MIT License
14 stars 17 forks source link

Bug when anonymous users are allowed #3

Closed pitbulk closed 9 years ago

pitbulk commented 9 years ago

If the system allows anonymous users, them drupal_session_started() returns true so the SAML SSO never take place.

Check on line https://github.com/onelogin/drupal-saml/blob/master/onelogin_saml/functions.php#L24 that the started session is not from a anonymous user.