Creating new sites and cant log in

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

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.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/2/2008 4:45:13 PM
Gravatar
Total Posts 10

Creating new sites and cant log in

Hi,

I had created the first site with clear text passwords. However due to the fact that I have added some more sites and have given others access to their site to edit their sites. So to prevent they can see my password I had changed the clear text to encrypted, however it does not change it for the other sites. But I see that as administrator you still can see the passwords...

 

Furthermore I now just created a new site and it put the admin password in clear text, while it should have been encrypted. So I had to copy the password from my other user account into the new admin user and was able to login.

So it looks like creation of new site in my case does not encrypt the default password admin and as such I cant login. I think it has to do with the fact that I have change the from clear text to encrypted, but somehow there is a setting that remembers to have it as clear text when new sites are created.

 

 

2/3/2008 3:03:25 PM
Gravatar
Total Posts 18439

Re: Creating new sites and cant log in

Hi,

Thanks for letting me know. I was able to reproduce the problem here and have it fixed in my svn sandbox.

A workaround until the next release is to always create new sites using the clear text setting then after the site has been saved change it to encrypted and save again.

The problem is in the setup routine for new sites. In the previous code it was not checking the password format of the site and was always creating the admin user password as "admin" and since this couln't be decrypted it would fail login. If you change it to encrypted after the user is created it will encrypt his password.

Best Regards,

Joe

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