Home
last modified time | relevance | path

Searched refs:checkPolicy (Results 1 – 3 of 3) sorted by relevance

/plugin/passpolicy/_test/
H A DHelperTest.php64 …$this->assertTrue($policy->checkPolicy('tested', 'tested'), '1 pool, no user check ' . $policy->er…
65 $this->assertFalse($policy->checkPolicy('test', 'tested'),
76 …$this->assertFalse($policy->checkPolicy('tested', 'tested'), '1 pool, user check ' . $policy->erro…
89 $this->assertTrue($policy->checkPolicy('bazzel', 'nope'));
90 $this->assertFalse($policy->checkPolicy('eyphed', 'nope'));
94 $this->assertTrue($policy->checkPolicy('password', 'nope'));
100 $this->assertTrue($policy->checkPolicy('sadf asfd s as asf a afafaa fadfsa fas', 'nope'));
101 $this->assertFalse($policy->checkPolicy('qwertzuiop', 'nope'));
105 $this->assertTrue($policy->checkPolicy('qwertzuiop', 'nope'));
114 …$this->assertTrue($policy->checkPolicy('lower', 'tester'), '0 required, 1 given ' . $policy->error…
[all …]
/plugin/passpolicy/
H A Daction.php65 if (!$passpolicy->checkPolicy($pass, $user)) {
123 if (!$passpolicy->checkPolicy($pass, $user)) {
H A Dhelper.php101 if ($pw && $this->checkPolicy($pw, $username)) return $pw;
106 if ($pw && $this->checkPolicy($pw, $username)) return $pw;
110 if ($pw && $this->checkPolicy($pw, $username)) return $pw;
170 public function checkPolicy($pass, $username) function in helper_plugin_passpolicy