<?php
// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: min.php 66102 2018-04-19 18:05:08Z luciash $

function prefs_min_list()
{
	return [
		'min_username_length' => [
			'name' => tra('Minimum length'),
			'description' => tra('The least possible number of characters for a valid username.'),
			'type' => 'text',
			'size' => 5,
			'filter' => 'digits',
			'units' => tra('characters'),
			'default' => 1,
		],
		'min_pass_length' => [
			'name' => tra('Minimum length'),
			'description' => tra('The least possible number of characters for a valid password.'),
			'type' => 'text',
			'size' => 5,
			'filter' => 'digits',
			'units' => tra('characters'),
			'default' => 5,
		],
	];
}
