Changed cod type

This commit is contained in:
Arturo Gonzalez 2017-04-20 15:00:24 +02:00
parent ad065e2464
commit 14a3a79eb3
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ if (! isset ($config['id_user'])) {
} }
} }
else { else {
$cod_hash = $user_reset_pass . "::::" . base64_encode(rand(10, 1000000) . rand(10, 1000000) . rand(10, 1000000)); $cod_hash = $user_reset_pass . "::::" . md5(rand(10, 1000000) . rand(10, 1000000) . rand(10, 1000000));
$subject = '[Pandora] '.__('Reset password'); $subject = '[Pandora] '.__('Reset password');
$body = __('This is the automatic message'); $body = __('This is the automatic message');