From: Stéphane Jacob Date: Mon, 13 Jun 2011 16:20:51 +0000 (+0200) Subject: Stores xnet accounts registration date. X-Git-Tag: xorg/1.1.2~20 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=843707db95ee96c03aa317c3a808f78e5c5a1522;p=platal.git Stores xnet accounts registration date. Signed-off-by: Stéphane Jacob --- diff --git a/modules/xnet.php b/modules/xnet.php index 803cfc8..1140b98 100644 --- a/modules/xnet.php +++ b/modules/xnet.php @@ -254,7 +254,7 @@ class XnetModule extends PLModule if (Post::has('pwhash') && Post::t('pwhash')) { XDB::query('UPDATE accounts - SET password = {?}, state = \'active\' + SET password = {?}, state = \'active\', registration_date = NOW() WHERE uid = {?} AND state = \'pending\' AND type = \'xnet\'', Post::t('pwhash'), $res['uid']); XDB::query('DELETE FROM register_pending_xnet