Problem to login after changed password and security

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
9/28/2008 4:27:51 PM
Gravatar
Total Posts 7

Problem to login after changed password and security

Hi!

I did my first install of mojo today and it seams great! You have done a wonderfull job for what I´ve seen so far.

So, I did an install, logged in, created my pages and then changed my admin pass and changed the security from plain text to hashed values.

Then I logged out and my problem begun

I cant log back in again.. I tried with the admin@admin.com email (that I didn't change) and my new pass..no luck. I checked in the db user table and I could see that my password was the new one but still in plain text??!!! Well good for me I thought since now I could just copy paste the mail and password and login but that didnt work either, still gives me wrong password.

Any clue how to fix this without doing a reinstall?

I really want to use hashed values and of course be able to change my password

Im running this locally so I can't try with another browser, but I cleaned my cookies and temp files without luck.

Any help is appreciated

Edit: It's running on W2k3, IIS6 with MSSQL2005 as backend, It's not the open-source version and I am trying to access it with IE7

/F.L

Ps sorry if I am unclear, English is not my first language...

 

9/28/2008 5:01:19 PM
Gravatar
Total Posts 18439

Re: Problem to login after changed password and security

If the password is not encrypted in the mp_users table, then look in mp_Sites and set password format column to 0 and you should be able to login again. Next change your admin account to your real email address so that if you lock yourself out again you can use password recovery. Make sure smtp is working correctly before changing password format to encrypted or hashed also so you can recover/reset your password if you lock yourself out.

Also after changing your password be sure and log out and then login again before making other changes.

Hope it helps,

Joe

9/29/2008 12:34:29 PM
Gravatar
Total Posts 7

Re: Problem to login after changed password and security

That did the trick!

Thanks a lot for your fast support

9/29/2008 3:15:01 PM
Gravatar
Total Posts 7

Re: Problem to login after changed password and security

OK I was a little too fast.

I managed to restore the security mode back to plain text (0) so I could login.

Then configured smtp so that worked ok.

 

But when trying hashed values I´m stuck again. It changes the column in mp_sites to the new security setting, but does not update the column in the user table, still plain text.

The second mode works fine though (Crypt password). Just the last one that doesn't work.

Do I need to do something special in the database to enable hashed values?

 

Many thanks

F.L

 

 

 

10/1/2008 6:54:37 AM
Gravatar
Total Posts 18439

Re: Problem to login after changed password and security

Hi,

I am able to produce this problem here. Changing from clear text to encrypted works, but changing from clear text to Hashed does seem to be broken, so it appears to be a bug. It used to work so something must have changed and broken it. I will look into this today and post again after its fixed.

Best,

Joe

 

10/1/2008 7:19:44 AM
Gravatar
Total Posts 18439

Re: Problem to login after changed password and security

I fixed this just now. The fix will be in svn trunk by tonight for developers and will be in the next release for everyone else. I'll try to make a release within the next week.

Best,

Joe

10/1/2008 12:52:27 PM
Gravatar
Total Posts 7

Re: Problem to login after changed password and security

Great!

Lovely support!

 

I will try the next release when its out

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