Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling connections errors to LDAP server #3

Open
3 tasks
mp1509 opened this issue Jun 27, 2022 · 0 comments
Open
3 tasks

Improve handling connections errors to LDAP server #3

mp1509 opened this issue Jun 27, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mp1509
Copy link
Contributor

mp1509 commented Jun 27, 2022

For now the plugin throws an error since the ldap provider instance is null in case there's an error when connecting to the ldap server.
It should:

  • throw an exception in case the connection fails
  • catch the exception on login so that the default yii2-usuario login can continue
  • throw an exception in all the other cases in the "before" events (even if the actual procedure is done in the "after" one)
@mp1509 mp1509 added the enhancement New feature or request label Jun 27, 2022
@mp1509 mp1509 self-assigned this Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant