Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Logging in with MD5 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
bolson
Newbie
Newbie


Joined: 20 July 2010
Online Status: Offline
Posts: 3
Posted: 20 July 2010 at 7:58am | IP Logged Quote bolson

I have been looking for the past day or so, to find the login script where the input box for Password sends
to the MySQL database. My goal is to have the plain text input go to MD5, then check that against the
password in the database they registered with, then let them login. Thanks.
Back to Top View bolson's Profile Search for other posts by bolson
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 20 July 2010 at 8:45am | IP Logged Quote Alex

I don't think it's possible. But if you find the solution, you're welcome to share it here :)

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
bolson
Newbie
Newbie


Joined: 20 July 2010
Online Status: Offline
Posts: 3
Posted: 20 July 2010 at 7:41pm | IP Logged Quote bolson

If i can find the login script then it won't be that hard, i hope. i just don't know where it is.
Back to Top View bolson's Profile Search for other posts by bolson
 
bolson
Newbie
Newbie


Joined: 20 July 2010
Online Status: Offline
Posts: 3
Posted: 22 July 2010 at 9:22am | IP Logged Quote bolson

I figured it out, you have to change

Code:


        function getPassword()
        {
                 return $this->_password;
        }


to

Code:


        function getPassword()
        {
                 return md5( $this->_password );
        }



and it will let you login
Back to Top View bolson's Profile Search for other posts by bolson
 
KyPPo
Newbie
Newbie
Avatar

Joined: 26 January 2011
Location: Denmark
Online Status: Offline
Posts: 4
Posted: 26 January 2011 at 8:37am | IP Logged Quote KyPPo

Which file is that in? :)

Thanks for sharing!
Back to Top View KyPPo's Profile Search for other posts by KyPPo
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 27 January 2011 at 1:22am | IP Logged Quote Igor

That's common/class_login.php file.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

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