According to the documentation of the authenticate hook we should return the $user variable if we want the login to succeed. Before this PR we returned nothing when the plugin is not configured correctly which will cause the authentication to fail. This is not what we want
According to the documentation of the
authenticate
hook we should return the$user
variable if we want the login to succeed. Before this PR we returned nothing when the plugin is not configured correctly which will cause the authentication to fail. This is not what we want