Closed doedje closed 5 months ago
Hi @doedje !
What version of the module are you using? Because I cannot reproduce this issue.. I sort of remember fixing this case recently?....
My bad, I upgraded to 2.3.6 and it is working as expected. Lesson learned: first update, then dive into the code to fix an issue... ;) Thank you!
When I try to login with username and empty password a "Symfony\Component\Ldap\Exception\ConnectionException: Server is unwilling to perform" error is thrown but remains unhandled, which results in a "SimpleSAML\Error\Error: UNHANDLEDEXCEPTION".
So for now I have a try-catch around:
But then I started thinking, wouldn't it make more sense to disallow empty passwords all together and put a check for empty passwords in:
I'm looking forward to your reasoning. I will, when needed, send a PR to the respective repository.