summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-08 02:42:41 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-08 02:42:41 -0400
commit31db4cd94e8afd6e0a59d17253b1db6ebb765900 (patch)
tree97d73f4104ebe213c7def78dada5f73fa23c4619 /actions
parentebd9adca69d6e26f3c237c3e95a6995e88d2b64e (diff)
more debug output for rememberme cookies
darcs-hash:20080708064241-84dde-6c72e4e5d5ec5675bdef027e1b241f0555ce8dd1.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/login.php2
-rw-r--r--actions/register.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php
index a4e8b33cd..936619732 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -45,7 +45,7 @@ class LoginAction extends Action {
}
common_real_login(true);
if ($this->boolean('rememberme')) {
- common_debug('Adding rememberme cookie');
+ common_debug('Adding rememberme cookie for ' . $nickname);
common_rememberme();
}
# success!
diff --git a/actions/register.php b/actions/register.php
index 06ad85899..a8b360f73 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -71,6 +71,7 @@ class RegisterAction extends Action {
}
common_real_login(true);
if ($this->boolean('rememberme')) {
+ common_debug('Adding rememberme cookie for ' . $nickname);
common_rememberme();
}
common_redirect(common_local_url('profilesettings'));