Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2627

Joomla! 4.x Coding • Why site User ResetController request only return request failed if JDEBUG === true?

$
0
0
I need to add a captcha to the login password reset form.

I can override site/com_users/tmpl/reset/default.php template and the form renders ok. After sending with captcha error a message is shown on screen, but user is redirected to the confirm layout. Doesn´t send email confirmation.

If config->DEBUG is set to true it will do what I think must allways do, I meen, show error message and stay on the same page until all fields are ok validated.

This happens because inside the controller the code is:

Code:

} elseif ($return === false && JDEBUG) {
Is there a reason for this to be the case?, could it be a bug?

Statistics: Posted by maikolort — Fri Jan 05, 2024 12:40 pm



Viewing all articles
Browse latest Browse all 2627

Trending Articles