When logout the password is lost

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
vixmoa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue May 23, 2006 7:18 pm

When logout the password is lost

Post by vixmoa » Fri Jan 25, 2008 9:58 am

After upgrading 1.0.13 to 1.0.14 everything goes fine except one:

When any user log out the password is lost. You have to generaqte a new one. The issue is:

1. You try to login, and fail.
2. Regenerate a new password from the joomla user menu and send to the user email.
3. Log in with the new password is OK.
4. Inmediately you logout
5. Try to log in again with the same pass in the step 3 and fails
6. You have to go again to the step 2

Perhaps the lost of the pass in when the user login, but in any case the same password can be used in different sessions.

???

User avatar
vixmoa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue May 23, 2006 7:18 pm

Re: When logout the password is lost

Post by vixmoa » Fri Jan 25, 2008 10:22 am

More

After switch Joomla to verbose error mode:

When I try to log in backend the follow error appears:

Notice: Undefined offset: 1 in /home/s03b5e65/public_html/administrator/index.php on line 109

And the 109 line says:

list($hash, $salt) = explode(':', $my->password);

When I try to log in in fron end the error is:

Notice: Undefined offset: 1 in /home/s03b5e65/public_html/includes/joomla.php on line 1097

And the 1097 line is:
list($hash, $salt) = explode(':', $row->password);

That is the same code.


Also I have notice that in the database my password are save in this format:
9d0682ff6278a656e0d9cca38f47c446

But in other Joomla sites the password is stored with this format:
fe71e70ac87f4502a1ef7652fc28855b:xVJwS3SJoN8z1KOU

Note the lengh and the ":"

???

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18886
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: When logout the password is lost

Post by infograf768 » Fri Jan 25, 2008 3:53 pm

In my 1.0.14RC1
password is saved as
fe69f7e4ff714bd4fd802425069b58fc:x20DCwFAqQPyaX3f
No issue.

It is on 1.0.12 that passwords were stored as
21232f297a57a5a743894a0e4a801fc3

because a change in mdhash
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
vixmoa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue May 23, 2006 7:18 pm

Re: When logout the password is lost

Post by vixmoa » Fri Jan 25, 2008 6:19 pm

Ok, but my J! is:

1.0.12->upgrade 1.0.13->upgrade 1.0.14

And the pass continue in 21232f297a57a5a743894a0e4a801fc format.

:(

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18886
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: When logout the password is lost

Post by infograf768 » Sat Jan 26, 2008 6:44 am

Hmmm...
Have you upgraded from 1.0.12 via 1.0.13 then 1.0.14RC1 without logging first in 1.0.13?
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
vixmoa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue May 23, 2006 7:18 pm

Re: When logout the password is lost

Post by vixmoa » Sat Jan 26, 2008 7:55 am

;D No, I upgraded everytime an upgrade patch was published.


Locked

Return to “General Questions - 1.0.x”