Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Change Password Problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
redfox
Newbie
Newbie


Joined: 02 April 2015
Online Status: Offline
Posts: 1
Posted: 09 May 2015 at 1:56am | IP Logged Quote redfox

Hi,
I've a problem with plugin "change password".
I modified the logic to change the password on the db and not on passwrd.
Sometimes all is workin' in a wonderful way.
Other time no.
The problem is that on the index.php of custom modules, the field PreviousMailPassword is empty, but the field IncomingMailPassword os with new password.
Why?
in the function    public function ChangePasswordProcess($oAccount)
I can see that the $oAccount object has the $oAccount->PreviousMailPassword with an empty value.

So the check:
if (0 < strlen($oAccount->PreviousMailPassword) &&
                        $oAccount->PreviousMailPassword !== $oAccount->IncomingMailPassword)

is on 99% false.
How I can fix it?
Best Regards
Tonio
Back to Top View redfox's Profile Search for other posts by redfox
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide