Nitecon / zfcuser-ldap

ZFCUser addon to provide LDAP authentication access.
BSD 3-Clause "New" or "Revised" License
15 stars 19 forks source link

Throws fatal error when authenticating #2

Closed aarbrown closed 11 years ago

aarbrown commented 11 years ago

Hello,

After installing the module, I'm getting the following fatal error after attempting to authenticate via ZfcUser's login form:

Catchable fatal error: Argument 2 passed to ZfcUserLdap\Mapper\User::__construct() must be an instance of ZfcUserLdap\Options\ModuleOptions, instance of ZfcUser\Options\ModuleOptions given, called in vendor/nitecon/zfcuser-ldap/src/ZfcUserLdap/Authentication/Adapter/Ldap.php on line 51 and defined in vendor/nitecon/zfcuser-ldap/src/ZfcUserLdap/Mapper/User.php on line 28

Any thoughts on this? Do I need to add configuration options for ZfcUserLdap in my config/autoload (other than ldap settings)?

Thanks

Nitecon commented 11 years ago

Not an issue please see issue #1 as that contains the instructions, you're seeing the issues as you are trying to use the auth handler directly and its intended to work as a plugin to zfcuser.