dmirandaa / moodle-auth_saml2sso

Moodle plugin for authentication using a SimpleSAMLphp Service Provider
https://moodle.org/plugins/auth_saml2sso
0 stars 6 forks source link

Loop on button on dual login #34

Open neeesn opened 5 years ago

neeesn commented 5 years ago

Describe the bug When dual login is set and we go to the login screen. The button sends us to sitename.com/login/index.php?saml=on but it doesnt "call" the login. we just go in loop.

To Reproduce Steps to reproduce the behavior: Install newest version in moodle 3.6.3 Set to dual login Log out Try and login via click the button

Desktop (please complete the following information): Any browser

To make it work we changed the code in the loginpage_hook in auth.php line 198 - 228 : From: /**

To this :

/**

mfprimo commented 5 years ago

Hi Henrik, could you do a pull request?

mfprimo commented 5 years ago

Hi Henrik, I was not able to reproduce the bug, but I trust you and applied your suggestion in the code. Could you confirm new version works?