Skip to content

Improve handling connections errors to LDAP server #3

Open
@mp1509

Description

@mp1509

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)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions