summaryrefslogtreecommitdiffstats
path: root/lib/class/api.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-11-15 06:41:41 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-11-15 06:41:41 +0000
commit2562b5a00bc96694ba6f25bc8aa6064521d2b8b5 (patch)
treeddc9e062bb85c9d4698693d249db90ea8eec390d /lib/class/api.class.php
parentd1f96470900c74bdb4c9101f309f10697a3e6aa3 (diff)
downloadampache-2562b5a00bc96694ba6f25bc8aa6064521d2b8b5.tar.gz
ampache-2562b5a00bc96694ba6f25bc8aa6064521d2b8b5.tar.bz2
ampache-2562b5a00bc96694ba6f25bc8aa6064521d2b8b5.zip
add in require_localnet_session configuration
Diffstat (limited to 'lib/class/api.class.php')
-rw-r--r--lib/class/api.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/api.class.php b/lib/class/api.class.php
index af44c6b5..9e1f8f46 100644
--- a/lib/class/api.class.php
+++ b/lib/class/api.class.php
@@ -73,7 +73,7 @@ class Api {
$ip = sprintf("%u",ip2long($ip));
// Log this attempt
- debug_event('API','Login Attempt, IP:' . long2ip($ip) . ' Time:' . $timestamp . ' User:' . $user_id . ' Auth:' . $passphrase,'1');
+ debug_event('API','Login Attempt, IP:' . long2ip($ip) . ' Time:' . $timestamp . ' User:' . $username . '(' . $user_id . ') Auth:' . $passphrase,'1');
// Run the query and return the passphrases as we'll have to mangle them
// to figure out if they match what we've got