]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better debugging
authorEvan Prodromou <evan@prodromou.name>
Sat, 5 Jul 2008 16:18:01 +0000 (12:18 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 5 Jul 2008 16:18:01 +0000 (12:18 -0400)
darcs-hash:20080705161801-84dde-b8ce7f1edcb18d7382b2690ff35f84e4b7cc7421.gz

actions/login.php
actions/register.php

index 2f37ef84345c2c24ba6aa4f6c2115ca9126c6641..184e2db85b9a857dee8c417e07c63df0dcde51a6 100644 (file)
@@ -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();
                        }
index 7708bb27b67077e782f2d72a9d4df0a9fff85f90..06ad858997fd5fee67baf561621aac702bb14d62 100644 (file)
@@ -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();
                        }