summaryrefslogtreecommitdiff
path: root/framework/Security
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Security')
-rw-r--r--framework/Security/TSecurityManager.php2
-rw-r--r--framework/Security/TUserManager.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Security/TSecurityManager.php b/framework/Security/TSecurityManager.php
index 6c227c8e..89f3711a 100644
--- a/framework/Security/TSecurityManager.php
+++ b/framework/Security/TSecurityManager.php
@@ -137,7 +137,7 @@ class TSecurityManager extends TModule
*/
public function setValidation($value)
{
- $this->_validation=TPropertyValue::ensureEnumerable($value,'TSecurityManagerValidationMode');
+ $this->_validation=TPropertyValue::ensureEnum($value,'TSecurityManagerValidationMode');
}
/**
diff --git a/framework/Security/TUserManager.php b/framework/Security/TUserManager.php
index 8d91c92a..c0bbe65d 100644
--- a/framework/Security/TUserManager.php
+++ b/framework/Security/TUserManager.php
@@ -198,7 +198,7 @@ class TUserManager extends TModule implements IUserManager
*/
public function setPasswordMode($value)
{
- $this->_passwordMode=TPropertyValue::ensureEnumerable($value,'TUserManagerPasswordMode');
+ $this->_passwordMode=TPropertyValue::ensureEnum($value,'TUserManagerPasswordMode');
}
/**