summaryrefslogtreecommitdiffstats
path: root/lib/api/kolab_api_service_user.php
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-04-17 11:24:56 +0200
committerTimotheus Pokorra <tp@tbits.net>2015-04-17 11:27:07 +0200
commit358428eb8ec573e79c610b3f7aa96cb2365f35f5 (patch)
tree6c3600bf1236d2042e00fa2f4875bfae925b1759 /lib/api/kolab_api_service_user.php
parent87d05c91840bac6ebb9d965a95d18d9896dc23a7 (diff)
downloadwebadmin-358428eb8ec573e79c610b3f7aa96cb2365f35f5.tar.gz
rename class Password to password_policy
Diffstat (limited to 'lib/api/kolab_api_service_user.php')
-rw-r--r--lib/api/kolab_api_service_user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/kolab_api_service_user.php b/lib/api/kolab_api_service_user.php
index b8b14b2..035b8ca 100644
--- a/lib/api/kolab_api_service_user.php
+++ b/lib/api/kolab_api_service_user.php
@@ -83,7 +83,7 @@ class kolab_api_service_user extends kolab_api_service
$attributes = $this->parse_input_attributes('user', $postdata);
- Password::validate_password($attributes['userpassword']);
+ password_policy::validate_password($attributes['userpassword']);
Log::trace("user_add()", $attributes);
@@ -135,7 +135,7 @@ class kolab_api_service_user extends kolab_api_service
Log::trace("\$user_attributes as result from parse_input_attributes", $user_attributes);
- Password::validate_password($user_attributes['userpassword']);
+ password_policy::validate_password($user_attributes['userpassword']);
$auth = Auth::get_instance();
$result = $auth->user_edit($postdata['id'], $user_attributes, $postdata['type_id']);