summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-03 15:16:08 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-03 15:16:08 +0100
commita53394a2e77ba16241e8291d57782c636b6c042f (patch)
treec24f8946b3ef30e3a700ba5d06b73168e6625fef
parentdc2c82a5f5d3479c136075cb7681da637076c6c8 (diff)
downloadwebadmin-a53394a2e77ba16241e8291d57782c636b6c042f.tar.gz
Log with the domain included
-rw-r--r--lib/Auth.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Auth.php b/lib/Auth.php
index 20da7b6..3240da5 100644
--- a/lib/Auth.php
+++ b/lib/Auth.php
@@ -121,11 +121,11 @@ class Auth {
{
if (empty($domain)) {
if (!empty($_SESSION['user'])) {
- Log::trace("Using domain from session");
$domain = $_SESSION['user']->get_domain();
+ Log::trace("Using domain from session: $domain");
} else {
- Log::trace("Using primary_domain");
$domain = $this->conf->get('primary_domain');
+ Log::trace("Using primary_domain: " . $domain);
}
Log::trace("Domain to connect to not specified, connecting to $domain");
} else {
@@ -162,11 +162,11 @@ class Auth {
{
if (empty($domain)) {
if (!empty($_SESSION['user'])) {
- Log::trace("Using domain from session");
$domain = $_SESSION['user']->get_domain();
+ Log::trace("Using domain from session: " . $domain);
} else {
- Log::trace("Using primary_domain");
$domain = $this->conf->get('primary_domain');
+ Log::trace("Using primary_domain: " . $domain);
}
}