source IP address stored into log
[brisk.git] / web / Obj / user.phh
index 4beaa5f..b6efbcd 100644 (file)
@@ -465,7 +465,7 @@ class User {
 
   function reset() {
     $curtime = time();
-    log_legal($curtime, 'xxx', $this, "STAT:LOGOUT", '');
+    log_legal($curtime, $this->ip, $this, "STAT:LOGOUT", '');
 
     $tmp_sess = $this->sess;
     $this->sess = "";