stevenbuehner/htpasswd-manager

用于管理Apache .htpasswd文件的Basic认证模块,适用于Zend Framework 2。

0.2.3 2018-11-21 09:02 UTC

This package is auto-updated.

Last update: 2024-09-13 00:57:46 UTC


README

Build Status

zf2-htpasswd-module

用于管理具有基本认证的htpasswd文件中用户的Zend Framework 2模块

默认配置

		'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 
		)