summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-05 12:18:01 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-05 12:18:01 -0400
commit69c8fe060fb830e22030022567fd2f9459e95fd7 (patch)
treed5461d0a1a685d155491bd9c261139628a118e64
parent5b377a31988f1f7aa38f33f0010c842d46ee6ff8 (diff)
better debugging
darcs-hash:20080705161801-84dde-b8ce7f1edcb18d7382b2690ff35f84e4b7cc7421.gz
-rw-r--r--actions/login.php2
-rw-r--r--actions/register.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/login.php b/actions/login.php
index 2f37ef843..184e2db85 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -44,6 +44,8 @@ class LoginAction extends Action {
return;
}
common_real_login(true);
+ common_debug('Remember me is "' . $this->arg('rememberme') . '"');
+ common_debug('Remember me value is "' . $this->boolean('rememberme') . '"');
if ($this->boolean('rememberme')) {
common_rememberme();
}
diff --git a/actions/register.php b/actions/register.php
index 7708bb27b..06ad85899 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -70,8 +70,6 @@ class RegisterAction extends Action {
return;
}
common_real_login(true);
- common_debug('Remember me is "' . $this->arg('rememberme') . '"');
- common_debug('Remember me value is "' . $this->boolean('rememberme') . '"');
if ($this->boolean('rememberme')) {
common_rememberme();
}