Author |
|
webdbase2 Valued Community Member
Joined: 25 March 2015 Location: Bulgaria
Online Status: Offline Posts: 81
|
Posted: 24 July 2015 at 8:02am | IP Logged
|
|
|
After I supply the correct credentials the browser returns to the login page. If I supply wrong ones, I get the error message "The username or password you entered is incorrect. (TAG1 NO Invalid login credentials)". I looked in the log file and there were no errors or warnings.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 24 July 2015 at 8:37am | IP Logged
|
|
|
We have a couple of reports regarding that issue already, developers are investigating it now.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
danmeuk Newbie
Joined: 25 July 2015
Online Status: Offline Posts: 4
|
Posted: 25 July 2015 at 12:54pm | IP Logged
|
|
|
Hi Igor,
On my install with debug logging enabled, it appears to try to query the awm_accounts table looking for my username in the email field (so never returns a result set) - like so:
[19:47:43.00][3905ee44] DB[7] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out
_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'USERNAME-IS-HERE'
|
Back to Top |
|
|
danmeuk Newbie
Joined: 25 July 2015
Online Status: Offline Posts: 4
|
Posted: 25 July 2015 at 1:07pm | IP Logged
|
|
|
Hi Igor,
in libraries/afterlogic/common/managers/integrator/manager.php:
in function 'getLogginedUserId':
$oAccount = $oApiUsersManager->getAccountByEmail($aAccountHashTable['login']);
this calls a query that looks for the username in an email field I believe.
(can never return a result set unless username == email which on my setup it does not!)
|
Back to Top |
|
|
webdbase2 Valued Community Member
Joined: 25 March 2015 Location: Bulgaria
Online Status: Offline Posts: 81
|
Posted: 25 July 2015 at 11:34pm | IP Logged
|
|
|
I confirm that:
In my log file there are such queries:
Requested URL /webmail76/?/Ajax/
1. DB[1] ... FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'XXX@yyy.zz'
2. Some IMAP checkings with positive result.
Requested URL /webmail76/
1. DB[1] ... FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'XXX'
2. DB[4] - DB[7] ... FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'XXX'
|
Back to Top |
|
|
webdbase2 Valued Community Member
Joined: 25 March 2015 Location: Bulgaria
Online Status: Offline Posts: 81
|
Posted: 26 July 2015 at 4:49am | IP Logged
|
|
|
danmeuk wrote:
$oAccount = $oApiUsersManager->getAccountByEmail($aAccountHashTable['login']); |
|
|
Yes, that's just the problem. I hardcoded my domain name and I was able to login.
Code:
$oAccount = $oApiUsersManager->getAccountByEmail($aAccountHashTable['login'].'@my.domain.com'); |
|
|
My plugins are woking correctly.
|
Back to Top |
|
|
danmeuk Newbie
Joined: 25 July 2015
Online Status: Offline Posts: 4
|
Posted: 26 July 2015 at 2:42pm | IP Logged
|
|
|
cool - not a fix I can use sadly, as my logins are not related to my email addresses in any way (standard unix user mailboxes!) - i'll have to wait for a fix from Afterlogic :-(
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 03 August 2015 at 6:46am | IP Logged
|
|
|
We've just released WebMail Pro 7.6.1. Upgrading to it should fix the problem.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
danmeuk Newbie
Joined: 25 July 2015
Online Status: Offline Posts: 4
|
Posted: 09 August 2015 at 8:48am | IP Logged
|
|
|
Hi Igor,
It certainly did - thanks! :)
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 10 August 2015 at 3:31am | IP Logged
|
|
|
Great, thank you!
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|