cotonti.com : Genoa 0.6.24 users.profile.inc.php password update problem https://www.cotonti.com Последние сообщения в теме Cotonti en Fri, 19 Dec 2025 20:20:50 -0000 Trustmaster

but with my code when time you will update your password change with sha256 :)

Same is done in 0.6.24 by default. So you have done the same in your code that it already does :) But thanks for your effort to help!

]]>
вт, 16 окт 2012 11:42:45 -0000
MecTruy i understand now, it means who is using md5 password they will stay always with this hash only new member will use sha256, but with my code when time you will update your password change with sha256 :)  http://www.cotonti.com/pastebin/196

]]>
вт, 16 окт 2012 07:31:48 -0000
Trustmaster Old accounts use md5() hashes, this is default behavior. They are only updated to sha256 when they change password in profile. You don't need to use md5() function in profile because it is used by sed_hash() if current user_hashfunc value is md5 (which is so for existing users). If there are problems with that, then patch-0.6.23-0.6.24.sql is not applied correctly on your database.

]]>
пн, 15 окт 2012 17:14:43 -0000
MecTruy Trustmaster, have a problem you can control $roldpass = md5($roldpass); look this where is sha256 salt ?  old account always must use md5 passwords.

]]>
пн, 15 окт 2012 10:47:36 -0000
Trustmaster Can anybody confirm the problem? I've just tested on a Genoa 0.6.24 instance and I was able to update the old md5 password to a new sha256 in profile.

]]>
ср, 10 окт 2012 18:33:47 -0000
pieter Please use pastbin to put in a lot of code:

http://www.cotonti.com/pastebin/

]]>
ср, 10 окт 2012 09:57:10 -0000
MecTruy Genoa 0.6.24 system/core/users/users.profile.inc.php password update problem, if you want change your password, you can't because users.profile.inc.php have a problem ! so we know cotonti password system changed with sha256 salt. but users.profile.inc.php just using md5 Crypt system, i did fix this. i did share fix codes, but Trustmaster must be control my codes, its working but maybe i did little wrong :)

fix code:  http://www.cotonti.com/pastebin/196

 

]]>
ср, 10 окт 2012 07:45:57 -0000