Remove Forgot Login Link From Administrator Login Screen Topic is solved

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
LikeStuff
Joomla! Guru
Joomla! Guru
Posts: 850
Joined: Mon Jul 24, 2006 2:06 am

Remove Forgot Login Link From Administrator Login Screen

Post by LikeStuff » Fri Jan 27, 2023 11:22 pm

Hello,

How can I remove the link/text "Forgot your login details?" from the administrator login screen?

I can't seem to find a solution anywhere.

Thanks!

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 15874
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Remove Forgot Login Link From Administrator Login Screen

Post by toivo » Sat Jan 28, 2023 12:04 am

This can be done in a template override of the view of the login module. Go to System - Templates - Administrator Templates - Atum Details and Files. Go to the tab Create Overrides, then Modules and click on mod_login. Use the Editor tab and locate the file administrator/templates/atum/html/mod_login/default.php

Remove the following lines from the end of default.php, then Save & Close and log out. That's all.

Code: Select all

<div class="text-center">
    <div>
        <?php echo HTMLHelper::link(
            Text::_('MOD_LOGIN_CREDENTIALS_LINK'),
            Text::_('MOD_LOGIN_CREDENTIALS'),
            [
                'target' => '_blank',
                'rel'    => 'noopener nofollow',
                'title'  => Text::sprintf('JBROWSERTARGET_NEW_TITLE', Text::_('MOD_LOGIN_CREDENTIALS'))
            ]
        ); ?>
    </div>
</div>
Toivo Talikka, Global Moderator

LikeStuff
Joomla! Guru
Joomla! Guru
Posts: 850
Joined: Mon Jul 24, 2006 2:06 am

Re: Remove Forgot Login Link From Administrator Login Screen

Post by LikeStuff » Mon Jan 30, 2023 7:08 pm

Thank you. Really appreciate it!


Post Reply

Return to “General Questions/New to Joomla! 4.x”