From 78c3f2a8428825a268fc2e3b8a4643eaa0efcc42 Mon Sep 17 00:00:00 2001 From: Daniel Hromada Date: Mon, 31 Jan 2011 00:26:57 +0100 Subject: [PATCH] sets users.hash='' for a registered user --- cron/register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.30.2