Joomla Login Action Bug - Chronoforms V4 RC1.8 - Joomla 1.6

rushinge 18 Apr, 2011
I'm having a problem using the "Joomla Login" action in the form wizard. The "On Fail" action is never triggered, only the "On Success" action is triggered, even if the login is invalid. Further investigation leads me to believe the problem lies in line 26 of administrator/components/com_chronoforms/form_actions/joomla_login.php:

if($mainframe->login($credentials)){


Joomla (at least in this version with my settings) returns a JException object with info indicating an invalid login, but this line of course evaluates to true when the JException is returned, thus ensuring that the "success" logic is executed if the login was invalid.
Max_admin 22 Apr, 2011
Hi rushinge,

Thanks for reporting this, I found a bug, a patch is attached!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.