View Single Post
  #1  
Old 9th March 2013, 19:22
andypl andypl is offline
Senior Member
 
Join Date: Mar 2006
Location: Warsaw, Poland
Posts: 100
Thanks: 1
Thanked 5 Times in 4 Posts
Default ISPConfig 3.0.5.1 Soap Error mail user update

Hi,
I have a problem with changing passwords via a plugin in roundcube.
I get the following message if I want to change the password.

Quote:
Soap Error: quota_error_isint
The following code php plugin for roundcube ispconfig3_pass

PHP Code:
          $params $mail_user[0];
          
$params['password'] = $newpwd;

                                        
$uid $soap->client_get_id($session_id$mail_user[0]['sys_userid']);
                                        
$update $soap->mail_user_update($session_id$uid$mail_user[0]['mailuser_id'], $params);
                                        
$soap->logout($session_id);

                                        
$this->rcmail_inst->output->command('display_message'$this->gettext('successfullysaved'), 'confirmation');

                                        
$_SESSION['password'] = $this->rcmail_inst->encrypt($newpwd);

                                        
$this->rcmail_inst->user->data['password'] = $_SESSION['password'];
                                }
                                catch (
SoapFault $e)
                                {
                                        
$this->rcmail_inst->output->command('display_message''Soap Error: '.$e->getMessage(), 'error');
                                }
                        }
                } 
What should I add or change to properly be able to change your password?
Regards

Last edited by andypl; 9th March 2013 at 19:24.
Reply With Quote
Sponsored Links