0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: pass.php
<?php // (c) Copyright 2002-2015 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: pass.php 53803 2015-02-06 00:42:50Z jyhem $ function prefs_pass_list() { return array( 'pass_chr_num' => array( 'name' => tra('Require characters and numerals'), 'description' => tra('For improved security, require users to include a mix of characters and numerals in passwords.'), 'type' => 'flag', 'default' => 'n', ), 'pass_due' => array( 'name' => tra('Password expires after'), 'description' => tra('password expiry period (in days)'), 'type' => 'text', 'size' => 5, 'filter' => 'int', 'shorthint' => tra('days'), 'hint' => tra('Use "-1" for never'), 'default' => -1, ), 'pass_chr_case' => array( 'name' => tra('Require alphabetical characters in lower and upper case'), 'description' => tra('Password must contain at least one alphabetical character in lower case like a and one in upper case like A.'), 'type' => 'flag', 'default' => 'n', ), 'pass_chr_special' => array( 'name' => tra('Require special characters'), 'description' => tra('Password must contain at least one special character in lower case like " / $ % ? & * ( ) _ + ...'), 'type' => 'flag', 'default' => 'n', ), 'pass_repetition' => array( 'name' => tra('Require no consecutive repetition of the same character'), 'description' => tra('Password must contain no consecutive repetition of the same character as 111 or aab.'), 'type' => 'flag', 'default' => 'n', ), 'pass_diff_username' => array( 'name' => tra('Password must be different from the user login'), 'description' => tra('Password must be different from the user login.'), 'type' => 'flag', 'default' => 'y', ), ); }