projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iGoogle gadget.
[platal.git]
/
modules
/
register
/
register.inc.php
diff --git
a/modules/register/register.inc.php
b/modules/register/register.inc.php
index
d16c2cf
..
6ac78ad
100644
(file)
--- a/
modules/register/register.inc.php
+++ b/
modules/register/register.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-200
8
Polytechnique.org *
+ * Copyright (C) 2003-200
9
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-225,10
+225,9
@@
function finish_ins($sub_state)
{
global $globals;
extract($sub_state);
{
global $globals;
extract($sub_state);
- require_once('secure_hash.inc.php');
$pass = rand_pass();
$pass = rand_pass();
- $pass_encrypted =
hash_encrypt
($pass);
+ $pass_encrypted =
sha1
($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);