I went to update Joomla 2.5.17 to 3.2.1. I have a login module on the frontpage of new website. A mysterious "secret key" entry now appears after the password.
After some testing I found that the ganrty override for the default.php template points to:
system\gantry\overrides\3.2\2.5\mod_login\default.php.
When I opened this default.php file I noticed line 49 had the follow html/php code:
<?php if (isset($twofactormethods) && ($twofactormethods) > 1): ?>
This is different than the standard mod_login default.php template code in the following two ways:
<?php if (count($twofactormethods) > 1) : ?>
I believe that the override version has forgotten to take the count() of the array and therefore always executes the if statement which causes the "secret key" message to always appear even when the twofactormethods calculation returns "disabled" state.
Thanks for your consideration of this bug report.
Craig