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:
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.
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.
Hi rushinge,
Thanks for reporting this, I found a bug, a patch is attached!
Regards,
Max
Thanks for reporting this, I found a bug, a patch is attached!
Regards,
Max
This topic is locked and no more replies can be posted.