Race condition on SSL login form button
Platform: Nginx+Debian, tested on Firefox and Chrome
I configured SSL with the choice module, and encountered quite a confusing behaviour. (reproduced locally and at a client's site with IE, FF and Chrome)
When clicking on the login button, SSL login works... every now and then. It never works on Firefox, and on Chrome it works about one time out of 10, depending on machine load, viewport size, and probably wind direction too.
But clicking on the smartcard icon works 100% of the time!
It's not very intuitive for users that they have to click on this icon instead of the nice green button. By the way, the return key does nothing, which is bad from an accessibility standpoint.
The AJAX request completes, and the redirection to the portal is triggered by JQuery as an ajax callback
The ajax request is interrupted because clicking the button causes the page to reload
I have a MR for this, but I have only tested it on a few web browsers so far, you might want to give it more extensive testing.