diff options
author | Yorhel <git@yorhel.nl> | 2008-12-11 13:38:28 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2008-12-11 13:38:28 +0100 |
commit | 5664f12a23fb5cbd531114ec5f6e79c8fba8274a (patch) | |
tree | 1bf2ef5a40db61023c17a07a008edf5f07d784b3 /lib/VNDB/DB/Users.pm | |
parent | f773850eeee32c1c12c74333c655f1a669a9d1cc (diff) |
2 Bugfixes with user registration
Diffstat (limited to 'lib/VNDB/DB/Users.pm')
-rw-r--r-- | lib/VNDB/DB/Users.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/Users.pm b/lib/VNDB/DB/Users.pm index c196e4f4..060f8b26 100644 --- a/lib/VNDB/DB/Users.pm +++ b/lib/VNDB/DB/Users.pm @@ -69,7 +69,7 @@ sub dbUserEdit { # username, md5(pass), mail sub dbUserAdd { my($s, @o) = @_; - $s->dbExec(q|INSERT INTO users (username, passwd, mail) VALUES(?, decode(?, 'hex'), ?)|, @o); + $s->dbExec(q|INSERT INTO users (username, passwd, mail, registered) VALUES(?, decode(?, 'hex'), ?, ?)|, @o, time); } |