stevenbuehner/htpasswd-manager

A module for Zend Framework 2 to manage an apache .htpasswd file for Basic Authentication.

0.2.3 2018-11-21 09:02 UTC

This package is auto-updated.

Last update: 2024-11-13 01:22:28 UTC


README

Build Status

zf2-htpasswd-module

A ZendFramework 2 Module to manage users in a htpasswd file with basic authentication

Default Configuration

		'HtpasswdManager' => array (
				// Carefull! File needs to be writeable by apache-user (www-data)
				// The .htaccess file needs to be set to use this .htpasswd file for authentication
				'htpasswd' => 'path/to/.htpasswd',
				
				// Users, that can't be deleted with the GUI
				'not_deletable_users' => array (
						'admin'
				),
				
				// May be an array (for specific users) or boolean for general true / false
				'usermanagement_users' => true 
		)