joomla/joomla-cms — pull request #2298 by Bakual (2013-10-20 20:08:14+00:00)
Title: Always show "forgot password" and "forgot username" links in mod_login

Currently those two links are not shown in the module if user registration is disabled.
They used to show always, so I guess it broke by accident.