CivUser is a ZF2 module for simple authentication. It can authenticate against a database table or an LDAP directory, such as Microsoft Active Directory.
Install via composer. Just add this module to your composer.json file. Then run composer install.
Copy the local.php.dist file into your applications configuration directory and rename it to civuser.local.php
Change the setting to suit. Use either the dbtable config or the ldap config (not both).
Four routes are configured;
- /login
- /logout
- /profile
- /change-password