Skip to content

Conversation

Godmartinz
Copy link
Member

This adds error handling around LDAP login. if it times out, it does so with an amorphous response:

image

@snipe snipe changed the title adds an error message bag for connection issues with LDAP Added an error message bag for connection issues with LDAP Oct 1, 2025
@Godmartinz
Copy link
Member Author

@uberbrady I made some changes around the self::bindAdminToLdap($connection), You left a warning about it. but I think with the throws, it should be handled now. But I really would like your blessing or input on this before this moves forward.
The tests were failing because the if statement on Model/Ldap.php:173 was returns on failure and nothing on success, I am just calling self::bindAdminToLdap($connection) instead now. Let me know iwhat you think. Please and thank you 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants