Home
last modified time | relevance | path

Searched refs:usepools (Results 1 – 2 of 2) sorted by relevance

/plugin/passpolicy/
Dhelper.php39 public $usepools = [ variable in helper_plugin_passpolicy
87 $this->usepools = [];
89 $this->usepools[$pool] = true;
92 if ($this->min_pools > count($this->usepools)) $this->min_pools = $this->usepools;
142 foreach ($this->usepools as $pool => $on) {
187 if (!empty($this->usepools['lower'])) $matched_pools += (int)preg_match('/[a-z]/', $pass);
188 if (!empty($this->usepools['upper'])) $matched_pools += (int)preg_match('/[A-Z]/', $pass);
189 if (!empty($this->usepools['numeric'])) $matched_pools += (int)preg_match('/\d/', $pass);
190 if (!empty($this->usepools['special'])) {
268 if (!empty($this->usepools['special'])) {
[all …]
/plugin/passpolicy/_test/
DHelperTest.php47 $policy->usepools = array(