Clarify comment
authorBen Klang <ben@alkaloid.net>
Wed, 5 Nov 2008 21:45:12 +0000 (16:45 -0500)
committerBen Klang <ben@alkaloid.net>
Wed, 5 Nov 2008 21:45:12 +0000 (16:45 -0500)
folks/login.php

index 013f8e3..45059a2 100644 (file)
@@ -191,7 +191,8 @@ if ($form->isSubmitted()) {
     $auth = &Auth::singleton('auto', array('username' => $username));
     $auth->setAuth($username, array('transparent' => 1, 'password' => $info['password']));
 
-    // Save user last login info, we don't use last_login prefs as it can be turned off by user
+    // Save user last login info.
+    // We ignore last_login pref as it can be turned off by user
     $params = array('last_login_on' => date('Y-m-d H:i:s'),
                     'last_login_by' => $_SERVER['REMOTE_ADDR']);
     if ($profile['user_status'] == 'deleted') {