Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password change on blank install #1082

Closed
trustmaster opened this issue Nov 13, 2012 · 5 comments
Closed

Password change on blank install #1082

trustmaster opened this issue Nov 13, 2012 · 5 comments
Assignees
Labels
Milestone

Comments

@trustmaster
Copy link
Member

Users have reported that changing a password in profile doesn't work on blank 0.6.24 install.

@Cmsworks
Copy link

On file system\core\users\users.profile.inc.php:

Need to replace the line 395:

$roldpass = md5($roldpass);

to

$roldpass = sed_hash($roldpass, $urr['user_passsalt'], $urr['user_passfunc']);

and in the line 414:

$rnewpass = md5($rnewpass1);

to

$rpassfunc = empty($cfg['hashfunc']) ? 'sha256' : $cfg['hashfunc'];
$rnewpass = sed_hash($rnewpass1, $urr['user_passsalt'], $rpassfunc);

@ghost ghost assigned trustmaster Nov 19, 2012
@trustmaster
Copy link
Member Author

Thanks a lot!

@trustmaster
Copy link
Member Author

It is actually already replaced in our repo. Probably 0.6.24 was packaged wrong.

@Cmsworks
Copy link

@trustmaster
Copy link
Member Author

Oh damn, I just forgot to commit this file!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant