projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'platal-0.9.16' into platal-0.9.17
[platal.git]
/
modules
/
register
/
register.inc.php
diff --git
a/modules/register/register.inc.php
b/modules/register/register.inc.php
index
4253147
..
585200a
100644
(file)
--- a/
modules/register/register.inc.php
+++ b/
modules/register/register.inc.php
@@
-148,6
+148,7
@@
function check_new_user(&$sub)
function create_aliases (&$sub)
{
function create_aliases (&$sub)
{
+ global $globals;
extract ($sub);
require_once "xorg.misc.inc.php";
extract ($sub);
require_once "xorg.misc.inc.php";
@@
-230,7
+231,7
@@
function finish_ins($sub_state)
require_once('secure_hash.inc.php');
$pass = rand_pass();
require_once('secure_hash.inc.php');
$pass = rand_pass();
- $pass_encrypted = hash_encrypt($pass
_clair
);
+ $pass_encrypted = hash_encrypt($pass);
$hash = rand_url_id(12);
XDB::execute('UPDATE auth_user_md5 SET last_known_email={?} WHERE matricule = {?}', $email, $mat);
$hash = rand_url_id(12);
XDB::execute('UPDATE auth_user_md5 SET last_known_email={?} WHERE matricule = {?}', $email, $mat);