X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fmarketing.inc.php;h=785335a135efc9fe67d6c89715c66dc4054374c9;hb=86aa4b4cccd01fa073f3d46bc7890bc0debb270c;hp=d488843169935086e8e76397ca28306fccda6199;hpb=4478f95efc07709dbe0a4415e979ff0347651cf8;p=platal.git diff --git a/include/marketing.inc.php b/include/marketing.inc.php index d488843..785335a 100644 --- a/include/marketing.inc.php +++ b/include/marketing.inc.php @@ -202,10 +202,9 @@ class Marketing return false; } - require_once('secure_hash.inc.php'); $hash = rand_url_id(12); $pass = rand_pass(); - $pass_encrypted = hash_encrypt($pass); + $pass_encrypted = sha1($pass); $fdate = strftime('%d %B %Y', strtotime($date)); $mymail = new PlMailer('marketing/relance.mail.tpl');