mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46151c87c0 |
@@ -249,6 +249,14 @@ class UserLocal extends UserInternal
|
|||||||
$config = MetaModel::GetConfig();
|
$config = MetaModel::GetConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//if the $proposedValue is an ormPassword, then it cannot be checked
|
||||||
|
//this if is even more permissive as we can only check against strings
|
||||||
|
if (!is_string($proposedValue) && !empty($proposedValue))
|
||||||
|
{
|
||||||
|
$this->m_oPasswordValidity = new UserLocalPasswordValidity(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (null == $aValidatorCollection)
|
if (null == $aValidatorCollection)
|
||||||
{
|
{
|
||||||
$aValidatorCollection = MetaModel::EnumPlugins('iModuleExtension', 'UserLocalPasswordValidator');
|
$aValidatorCollection = MetaModel::EnumPlugins('iModuleExtension', 'UserLocalPasswordValidator');
|
||||||
|
|||||||
Reference in New Issue
Block a user