|
@@ -268,17 +268,10 @@ function zimbraSingleDeleteAccount($userData)
|
|
|
|
|
|
|
|
function zimbraSingleChangePassword($userData) {
|
|
function zimbraSingleChangePassword($userData) {
|
|
|
$accessData = zimbraSingleGetAccess();
|
|
$accessData = zimbraSingleGetAccess();
|
|
|
- logModuleCall(
|
|
|
|
|
- 'zimbrasingle',
|
|
|
|
|
- __FUNCTION__,
|
|
|
|
|
- $userData,
|
|
|
|
|
- "Debug",
|
|
|
|
|
- ""
|
|
|
|
|
- );
|
|
|
|
|
-/* $passDecrypt = localAPI('DecryptPassword', array('password2' => $userData['password']));
|
|
|
|
|
|
|
+ $passDecrypt = localAPI('DecryptPassword', array('password2' => $userData['password']));
|
|
|
if ($passDecrypt['result'] == 'success') {
|
|
if ($passDecrypt['result'] == 'success') {
|
|
|
$userData['password'] = $passDecrypt['password'];
|
|
$userData['password'] = $passDecrypt['password'];
|
|
|
- }*/
|
|
|
|
|
|
|
+ }
|
|
|
if ($checkPW = zimbraSingleCheckPassword($userData['password'])) {
|
|
if ($checkPW = zimbraSingleCheckPassword($userData['password'])) {
|
|
|
return $checkPW;
|
|
return $checkPW;
|
|
|
}
|
|
}
|