better debugging

darcs-hash:20080705161801-84dde-b8ce7f1edcb18d7382b2690ff35f84e4b7cc7421.gz
This commit is contained in:
Evan Prodromou 2008-07-05 12:18:01 -04:00
parent 5b377a3198
commit 69c8fe060f
2 changed files with 2 additions and 2 deletions

View File

@ -44,6 +44,8 @@ class LoginAction extends Action {
return; return;
} }
common_real_login(true); 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')) { if ($this->boolean('rememberme')) {
common_rememberme(); common_rememberme();
} }

View File

@ -70,8 +70,6 @@ class RegisterAction extends Action {
return; return;
} }
common_real_login(true); 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')) { if ($this->boolean('rememberme')) {
common_rememberme(); common_rememberme();
} }