Location: PHPKode > projects > Simple Way to Usenet > config/account.opt.php
<?php

/*
 * Realm Account configuration
 * Account, control the users, groups and groups membership storage
 */


//for ovpn realm / challenge
$i='ovpn';
$o[$i]['type']				=	'array'; //Simpliest account backend, just 3 array.
$o[$i]['hash']				=	'clear'; 	//do we emulate hash ?
//$o[$i]['hashscheme']		=	'%pass'; 	//For http digest compatibility
$o[$i]['conf']['users']		=	Array( 	0 => Array('login'=> 'test', 'pass' => 'test') );
$o[$i]['conf']['groups']	=	Array( 	0 => 'admin', 1 => 'member');
$o[$i]['conf']['mbrship']	=	Array( 	0 => Array(0,1) );
return $o;
Return current item: Simple Way to Usenet