Author |
|
bolson Newbie
Joined: 20 July 2010
Online Status: Offline Posts: 3
|
Posted: 20 July 2010 at 7:58am | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 20 July 2010 at 8:45am | IP Logged
|
|
|
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 |
|
|
bolson Newbie
Joined: 20 July 2010
Online Status: Offline Posts: 3
|
Posted: 20 July 2010 at 7:41pm | IP Logged
|
|
|
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 |
|
|
bolson Newbie
Joined: 20 July 2010
Online Status: Offline Posts: 3
|
Posted: 22 July 2010 at 9:22am | IP Logged
|
|
|
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 |
|
|
KyPPo Newbie
Joined: 26 January 2011 Location: Denmark
Online Status: Offline Posts: 4
|
Posted: 26 January 2011 at 8:37am | IP Logged
|
|
|
Which file is that in? :)
Thanks for sharing!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 January 2011 at 1:22am | IP Logged
|
|
|
That's common/class_login.php file.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|