mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 00:02:17 +02:00
n°524 - password policy
bugfix: no rule does work properly
This commit is contained in:
@@ -157,7 +157,7 @@ class UserLocal extends UserInternal
|
||||
|
||||
public function IsPasswordValid()
|
||||
{
|
||||
return (isset($this->m_oPasswordValidity)) && ($this->m_oPasswordValidity->isPasswordValid());
|
||||
return (empty($this->m_oPasswordValidity)) || ($this->m_oPasswordValidity->isPasswordValid());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user