From: Daniel Hromada Date: Sun, 30 Jan 2011 23:26:57 +0000 (+0100) Subject: sets users.hash='' for a registered user X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=78c3f2a8428825a268fc2e3b8a4643eaa0efcc42;p=mirrors%2FKyberia-bloodline.git sets users.hash='' for a registered user --- diff --git a/cron/register.php b/cron/register.php index 50aa6e4..9a9c0a8 100755 --- a/cron/register.php +++ b/cron/register.php @@ -38,7 +38,7 @@ $q="select users.login as persona,users.email as email, $set=$db->query($q); while ($set->next()) { - $q="update users set header_id=0 where user_id=".$set->getString('node_id'); + $q="update users set header_id=0,hash='' where user_id=".$set->getString('node_id'); $db->update($q); $login=$set->getString('login'); echo $login." registered\n";