summaryrefslogtreecommitdiffstats
path: root/controllers/SignupController.php
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2011-07-10 22:05:44 -0400
committerMichael Francis <edude03@gmail.com>2011-07-10 22:05:44 -0400
commitdc2fe7923fdd56cc431c35b6037bf354a10d1ede (patch)
tree2f864c47ecbb663708163418fbd4118fa04e54b6 /controllers/SignupController.php
parent5c0b97013bea94cde9567569aec7702d73702026 (diff)
downloadotakuhub-dc2fe7923fdd56cc431c35b6037bf354a10d1ede.tar.xz
Fixed defaults
Diffstat (limited to 'controllers/SignupController.php')
-rw-r--r--controllers/SignupController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/controllers/SignupController.php b/controllers/SignupController.php
index 7cd2656..f368997 100644
--- a/controllers/SignupController.php
+++ b/controllers/SignupController.php
@@ -22,7 +22,8 @@ class SignupController extends \lithium\action\Controller {
//The user isn't active until after they confirm.
$user->confirmed = false;
$user->active = false;
- $user->joinedOn = Date("F j, Y, g:i a");
+ $user->joinedon = date('Y-m-d H:i:s', time());
+ $user->level = "user";
//By default save does validation at the same time,
//If there are errors its stuffs them into the $user->_erorrs variable,