Lost password link in admin login

User avatar
rued
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4768
Joined: Fri Sep 16, 2005 10:23 pm
Location: Finland / Norway
Contact:

Lost password link in admin login

Postby rued » Mon Sep 11, 2006 7:14 am

Hello,

Sometimes there is need for an Lost Password link in The Admin Login, for more than one reason.

Some don't use the Login Module in frontend, and don't have the com_login published in any menus - others are managing regular users from third party systems (like SMF) etc.

Then there's sometimes need for an Lost password link in the Admin Login screen, and normally you would find this there in most online systems - so you don't need to go to the frontpage to get a new password anyway. And if the module or com-login isn't published, most off the users don't remember the address to it - in spite it's pretty simple to find.

This apply to both J!1.0 and J!1.5., I think - but most important now is J!1.0 ;)

Hope this can be fixed shortly.

Note! An easy and fast solution could be to just link to com_login on frontpage, as a start.

Best regards
Last edited by rued on Mon Sep 11, 2006 7:19 am, edited 1 time in total.
Rune Rasmussen - http://www.syntaxerror.no
Norske nettløsninger og integrasjoner, CONSIGNOR EDI, Mamut ordreimport og produkteksport, kortbetaling og faktura m.m.

Norsk Joomla! - Norwegian Translation Team - http://www.norskjoomla.no

User avatar
eyezberg
Joomla! Hero
Joomla! Hero
Posts: 2860
Joined: Thu Aug 25, 2005 5:48 pm
Location: Geneva mostly
Contact:

Re: Lost password link in admin login

Postby eyezberg » Mon Sep 11, 2006 7:20 am

I agree 200 % as this just saved me when my site got hacked!
I had the module published frontend, so could reinitialize my hacked admin password, but if it hadn't been there, I would've been locked out of my own site completely!! (if course, if you know, you can add the option to the url, as Rune says, but would this still work in 1.5?).
Just a simple link sending a new password same as frontend.
Sometimes one pays most for the things one gets for nothing.
The important thing is not to stop questioning. Curiosity has its own reason for existing. AE
http://joomla15.[URL banned].com for J! 1.5 screenshots
http://www.eyezberg.com

User avatar
rued
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4768
Joined: Fri Sep 16, 2005 10:23 pm
Location: Finland / Norway
Contact:

Re: Lost password link in admin login

Postby rued » Mon Sep 11, 2006 7:45 am

I just did a test at one site, where I was adding one line to the administrator/templates/joomla_admin/login.php file.
This line adds a Lost Password link that will take you to ../index.php?option=com_registration&task=lostPassword/ (in frontend) - and it works fine from what I can see.

But still there would maybe be better with a own lost password site for the admin, but that could be an later step to fix - when the time allows you. This only takes 2-5 min. to get into SVN.. ;)

PS! If others want to add this hack to their site simply just open the file
/administrator/templates/joomla_admin/login.php

Find line 63:

Code: Select all

<p>Use a valid username and password to gain access to the administration console.</p>


And below that just add:

Code: Select all

<p><a href="<?php $mosConfig_absolute_path ?>/index.php?option=com_registration&task=lostPassword">Lost Password?</a></p>


Save and enjoy. :)
You do not have the required permissions to view the files attached to this post.
Last edited by rued on Mon Sep 11, 2006 7:51 am, edited 1 time in total.
Rune Rasmussen - http://www.syntaxerror.no
Norske nettløsninger og integrasjoner, CONSIGNOR EDI, Mamut ordreimport og produkteksport, kortbetaling og faktura m.m.

Norsk Joomla! - Norwegian Translation Team - http://www.norskjoomla.no

User avatar
eyezberg
Joomla! Hero
Joomla! Hero
Posts: 2860
Joined: Thu Aug 25, 2005 5:48 pm
Location: Geneva mostly
Contact:

Re: Lost password link in admin login

Postby eyezberg » Mon Sep 11, 2006 8:19 am

Simple and effective enough for me to add right now :)
(even though, for added security, i now have my admin password writen down on a bright yellow sticker on my work computer in sight of everyone, so i can ask anybody for it in case I forget! LOL, they all answer: ****** :D )
seriously: thanks Rune, and dev's please add this?
Sometimes one pays most for the things one gets for nothing.
The important thing is not to stop questioning. Curiosity has its own reason for existing. AE
http://joomla15.[URL banned].com for J! 1.5 screenshots
http://www.eyezberg.com

User avatar
candidosa2
Joomla! Explorer
Joomla! Explorer
Posts: 347
Joined: Sun Nov 05, 2006 10:20 pm
Location: Joomla Moçambique
Contact:

Re: Lost password link in admin login

Postby candidosa2 » Sun Dec 30, 2007 5:13 am

Iam try but she not work..
o dont see link..
Can tel me how can do that now
i change my template admin....
You do not have the required permissions to view the files attached to this post.

User avatar
candidosa2
Joomla! Explorer
Joomla! Explorer
Posts: 347
Joined: Sun Nov 05, 2006 10:20 pm
Location: Joomla Moçambique
Contact:

Re: Lost password link in admin login

Postby candidosa2 » Sun Dec 30, 2007 7:51 am



Return to “Wishlist Archives - Archived”

Who is online

Users browsing this forum: No registered users and 1 guest