projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
656132e
)
Stores xnet accounts registration date.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 13 Jun 2011 16:20:51 +0000
(18:20 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 13 Jun 2011 16:20:51 +0000
(18:20 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/xnet.php
patch
|
blob
|
blame
|
history
diff --git
a/modules/xnet.php
b/modules/xnet.php
index
803cfc8
..
1140b98
100644
(file)
--- 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