Change admin password

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/24/2009 11:24:12 AM
Gravatar
Total Posts 47

Change admin password

I have somehow managed to lockout both my accounts for my mojo portal installation.

I found in the DB where I unlock them but I cant remember the passwords.

How can I manage to change the admin@admin.com login so I can login again?

I guess the password are encrypted because it looks like: 7D-E7-C6 etc

 

PLs help me :)

5/24/2009 11:39:37 AM
Gravatar
Total Posts 18439

Re: Change admin password

If you already have email/smtp configured and working you could edit the email to be your email and then use the password recovery.

Otherwise you have to go into the mp_Sites table and change the password format to 0, then you can edit the poassword directly in the db as plain text.

Then recycle the app to clear the cache.

Hope it helps,

Joe 

5/24/2009 12:12:39 PM
Gravatar
Total Posts 47

Re: Change admin password

I have SMTP configured I think but that doesnt work for some reason.

 

I edited in mp_sites as you told and checked under mp_users but passwords are still crypted and tried to type admin ass password.

Still cant login. If i type anything else than admin as pssword the site says it the wrong password. If i type admin it pops back to the main page but not logged in.

 

Thanks in advance

5/24/2009 12:36:29 PM
Gravatar
Total Posts 18439

Re: Change admin password

after making the changes in the db you have to clear the cache, otherwise its still using the cached copy of site settings. Either recycle the app pool or touch the Web.config (ie type a space in it) to clear the cache.

password recovery uses the smtp settings from the system.net.mailsettings section of web.config

Hope it helps,

Joe 

5/24/2009 2:27:12 PM
Gravatar
Total Posts 47

Re: Change admin password

Still no luck. Anything more I can do?

 

i have entered the SMTP settings on both places. Shall i paste it here so you can see?

 

THanks again

5/24/2009 2:54:00 PM
Gravatar
Total Posts 18439

Re: Change admin password

make sure you set the passwordformat to 0 in mp_SiteSettings

make sure you set IsLockedOut = 0 or false and FailedPasswordAttemptCount = 0 in mp_Users

edit the password in mp_Users to "admin"

recycle the application pool

login, it should work or you are not following all the steps

5/25/2009 12:20:42 PM
Gravatar
Total Posts 47

Re: Change admin password

Now finaly it works.

But not from my ordinary computer but on any other computer it works.

Thanks!

7/28/2011 11:57:22 AM
Gravatar
Total Posts 22

Re: Change admin password

How do you change the MP sites table?  I did this very same thing.  Started on a project, had to table it, now can't get back in to finish the site.  If I can't get in, I could uninstall Mojoportal and reinstall, but don't see how to do that either.  New Mojo user here.  Sorry.  :-(  Do like it though

7/28/2011 4:29:15 PM
Gravatar
Total Posts 355

Re: Change admin password

Rick,

What db implementation are you using to support your mojoPortal installation?

7/29/2011 11:55:03 AM
Gravatar
Total Posts 18439

Re: Change admin password

This problem comes up often enough that I decided to write a little article to help, see Oops You Forgot the Admin Password.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.