This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Lost password
#1

Can I win an award for most ridiculous questions posted? Thought I saved the file with the password to login in to the admin. What's the easy way to recover it? Thanks.
Reply
#2

The admin panel password is stored in the database and it's encrypted for security.

What you need to do is open phpMyAdmin and navigate to the Settings table.

In the Settings table find a row named 'admin_password'.

Replace its value with this: 5f4dcc3b5aa765d61d8327deb882cf99

Now your admin panel password is 'password'.

Log in to your admin panel and change it to whatever you want in Settings -> Administrator.

I'll create an FAQ for this.

Have you completed the interview?
Reply
#3

Good idea for a new feature. A "lost your password?" link that adds a temporary password to the DB, and emails it to the admin. That password should be generated something like
PHP Code:
<?php 
$temp_password
= md5(md5("random value here"));
and should expire in ten minutes, or so.

What do you think?

I'm giving you three guesses...
Reply
#4

It would be an improvement but there are a few things to consider:

1. It's quite rare that an administrator forgets their password.
2. The current solution is fairly simple.
3. It's not an easy feature to add. For example, you'd need to stop someone from repeatedly resetting it etc.

By the way, running md5() multiple times supposedly reduces the possible combinations available.

Have you completed the interview?
Reply
#5

OK, just not everyone bothers to read forums and FAQs.

I'm giving you three guesses...
Reply
#6

I'm not saying the current solution is better - a 'lost password' feature is definitely better. I'm just saying why it will have a very low priority as far as I'm concerned. If you want to develop it yourself then I'll certainly add it. If not I may develop it at some point but I can't guarantee that.

Have you completed the interview?
Reply
#7

Heh, I already found a solution:
Code:
<span style="position:absolute; bottom:16px; left:16px;"><a href="http://www.commentics.org/support/knowledgebase.php?article=12" target="_blank">Lost your password?</a></span>
Put that in "auth.php" after line 98. As soon as that FAQ entry is there, the link will work.

I'm giving you three guesses...
Reply
#8

Nice compromise Smile

Have you completed the interview?
Reply
#9

Glad you liked itBig Grin. There's one thing about the FAQ entry that I don't like though: not all people have phpMyAdmin.

I'm giving you three guesses...
Reply
#10

I know but it's so popular. What would you put?

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Gabe
19-Jul-2015, 09:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)