afterlogic / webmail-lite

AfterLogic WebMail Lite PHP. Fast and easy-to-use webmail front-end for your existing IMAP mail server, Plesk or cPanel.
https://afterlogic.org/webmail-lite
GNU Affero General Public License v3.0
441 stars 120 forks source link

cPanel Install #51

Closed joejordanbrown closed 7 years ago

joejordanbrown commented 7 years ago

Seems to be a problem with Admin Panel login when using the Lite version. I've been testing this today on a number of servers. The Pro version works fine and I can access the admin at /3rdparty/afterlogic/adminpanel/index.php trying this with the Lite version I get the following error message:

Wrong login and/or password. Authentication failed.

In logs all i see is:

[03:15:00.67][cea80fb9] POST > [AdmloginInput, AdmpasswordInput, enter] [03:15:00.67][cea80fb9] [03:15:00.67][cea80fb9] Location: index.php?auth_error

afterlogic-support commented 7 years ago

Is this a blank install or upgrade from previous version? In case of upgrade, you need to reset password as shown at: https://www.afterlogic.com/docs/webmail-lite/frequently-asked-questions/how-to-reset-admin-password

afterlogic-support commented 7 years ago

Also note that, in case of embedded cPanel install, you need to log into email account first, and only then you can log into AdminPanel.

joejordanbrown commented 7 years ago

It was a fresh install. Like I said it's only with the lite version, I tested this on 5 separate VPS that I setup for testing. The pro version works fine.

Your settings.xml in the lite version has the password set in plaintext to 12345 which is obviously why the problem occured.

I'll push a fix.

afterlogic-support commented 7 years ago

Oh, you're right. Thank you for pointing that out. We've corrected the problem in the repository. (sorry for discarding the pull request)